mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-04-04 23:59:13 +08:00
Update TS definition to include IconDefinition as an option to IconProp
This commit is contained in:
parent
d8db3d032d
commit
cc9752bdc9
@ -17,7 +17,7 @@ export function layer(
|
||||
params?: LayerParams
|
||||
): Layer;
|
||||
export function icon(icon: IconName | IconLookup, params?: IconParams): Icon;
|
||||
export type IconProp = IconName | [IconPrefix, IconName] | IconLookup;
|
||||
export type IconProp = IconName | [IconPrefix, IconName] | IconLookup | IconDefinition;
|
||||
export type FlipProp = "horizontal" | "vertical" | "both";
|
||||
export type SizeProp =
|
||||
| "xs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user