diff --git a/.changeset/khaki-shirts-kick.md b/.changeset/khaki-shirts-kick.md new file mode 100644 index 0000000..a9e1c8b --- /dev/null +++ b/.changeset/khaki-shirts-kick.md @@ -0,0 +1,5 @@ +--- +"flowbite-react-icons": patch +--- + +update `FlowbiteIconProps` `size` type to accept `string` or `number` diff --git a/src/types.ts b/src/types.ts index eb1ca6a..01e931f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -6,5 +6,5 @@ export interface FlowbiteIconProps extends SVGProps { * * @default 24 */ - size?: number; + size?: string | number; }