We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Chip
1 parent 0258d9c commit d3d6c0aCopy full SHA for d3d6c0a
packages/fuselage/src/components/Chip/Chip.tsx
@@ -1,12 +1,12 @@
1
-import type { HTMLAttributes } from 'react';
+import type { ButtonHTMLAttributes } from 'react';
2
import React from 'react';
3
4
import { Avatar, Box } from '..';
5
import { prependClassName } from '../../helpers/prependClassName';
6
import { Icon } from '../Icon';
7
import Margins from '../Margins';
8
9
-type ChipProps = Omit<HTMLAttributes<HTMLButtonElement>, 'type'> & {
+type ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {
10
thumbUrl?: string;
11
renderThumb?: (props: { url: string }) => React.ReactNode;
12
renderDismissSymbol?: () => React.ReactNode;
0 commit comments