Update index.d.ts

added xl, 2xs, 2xl to sizeprop to see if this resolves the typescript issue
This commit is contained in:
Andrew LIndzon 2022-08-14 11:13:21 -04:00 committed by GitHub
parent 701d64a894
commit d795ce75c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,9 @@ export function icon(icon: IconName | IconLookup, params?: IconParams): Icon;
export type IconProp = IconName | [IconPrefix, IconName] | IconLookup; export type IconProp = IconName | [IconPrefix, IconName] | IconLookup;
export type FlipProp = "horizontal" | "vertical" | "both"; export type FlipProp = "horizontal" | "vertical" | "both";
export type SizeProp = export type SizeProp =
| "xl"
| "2xs"
| "2xl"
| "xs" | "xs"
| "lg" | "lg"
| "sm" | "sm"