diff --git a/build/createIconSet.d.ts b/build/createIconSet.d.ts index 2c70ec2..9ab570c 100644 --- a/build/createIconSet.d.ts +++ b/build/createIconSet.d.ts @@ -60,7 +60,7 @@ export interface IconButtonProps extends IconProps = { - [K in G]: number; + [K in G]: number | string; }; export interface Icon { defaultProps: any; diff --git a/src/createIconSet.tsx b/src/createIconSet.tsx index a7279bb..65c9e01 100644 --- a/src/createIconSet.tsx +++ b/src/createIconSet.tsx @@ -76,7 +76,7 @@ export interface IconButtonProps extends IconProps = { [K in G]: number } +export type GlyphMap = { [K in G]: number | string } export interface Icon { defaultProps: any;