Skip to content

Commit c926747

Browse files
authored
fix(components): Update IconButton type definition to include size prop (#2121)
1 parent 92b7fce commit c926747

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/components/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ export type MessageProps = BoxProps
365365
export const Message: ForwardRef<HTMLDivElement, MessageProps>
366366

367367
export interface IconButtonProps
368-
extends Assign<React.ComponentPropsWithRef<'button'>, BoxOwnProps> {}
368+
extends Assign<React.ComponentPropsWithRef<'button'>, BoxOwnProps> {
369+
size?: number | string
370+
}
369371
/**
370372
* Transparent button for SVG icons
371373
*

0 commit comments

Comments
 (0)