Skip to content

Commit

Permalink
fix(fuselage): Button-specific props for Chip
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Apr 1, 2022
1 parent 0258d9c commit d3d6c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fuselage/src/components/Chip/Chip.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { HTMLAttributes } from 'react';
import type { ButtonHTMLAttributes } from 'react';
import React from 'react';

import { Avatar, Box } from '..';
import { prependClassName } from '../../helpers/prependClassName';
import { Icon } from '../Icon';
import Margins from '../Margins';

type ChipProps = Omit<HTMLAttributes<HTMLButtonElement>, 'type'> & {
type ChipProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> & {
thumbUrl?: string;
renderThumb?: (props: { url: string }) => React.ReactNode;
renderDismissSymbol?: () => React.ReactNode;
Expand Down

0 comments on commit d3d6c0a

Please sign in to comment.