diff --git a/packages/react/src/Badge/Badge.tsx b/packages/react/src/Badge/Badge.tsx index fe7b00f62d..3043f53d59 100644 --- a/packages/react/src/Badge/Badge.tsx +++ b/packages/react/src/Badge/Badge.tsx @@ -22,10 +22,10 @@ export const badgeColors = [ type BadgeColor = (typeof badgeColors)[number] -export interface BadgeProps extends HTMLAttributes { +export type BadgeProps = { color?: BadgeColor label: string | number -} +} & HTMLAttributes export const Badge = forwardRef( ({ label, className, color = 'dark-green', ...restProps }: BadgeProps, ref: ForwardedRef) => (