From 32017cd978957616305f9d80a5fdaedd7b84258f Mon Sep 17 00:00:00 2001 From: Sutu Sebastian Date: Thu, 2 Oct 2025 08:39:25 +0300 Subject: [PATCH] fix: update FlowbiteIconProps size type to accept string or number --- .changeset/khaki-shirts-kick.md | 5 +++++ src/types.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/khaki-shirts-kick.md 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; }