Skip to content

Commit d3d6c0a

Browse files
committed
fix(fuselage): Button-specific props for Chip
1 parent 0258d9c commit d3d6c0a

File tree

1 file changed

+2
-2
lines changed
  • packages/fuselage/src/components/Chip

1 file changed

+2
-2
lines changed

packages/fuselage/src/components/Chip/Chip.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import type { HTMLAttributes } from 'react';
1+
import type { ButtonHTMLAttributes } from 'react';
22
import React from 'react';
33

44
import { Avatar, Box } from '..';
55
import { prependClassName } from '../../helpers/prependClassName';
66
import { Icon } from '../Icon';
77
import Margins from '../Margins';
88

9-
type ChipProps = Omit<HTMLAttributes<HTMLButtonElement>, 'type'> & {
9+
type ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {
1010
thumbUrl?: string;
1111
renderThumb?: (props: { url: string }) => React.ReactNode;
1212
renderDismissSymbol?: () => React.ReactNode;

0 commit comments

Comments
 (0)