1 | import { IconName as CoreIconName, IconPrefix as CoreIconPrefix } from '@fortawesome/fontawesome-svg-core';
|
2 | export type IconPrefix = CoreIconPrefix | (string & {});
|
3 | export type IconName = CoreIconName | (string & {});
|
4 | export interface IconLookup {
|
5 | prefix: IconPrefix;
|
6 | iconName: IconName;
|
7 | }
|
8 | export interface IconDefinition {
|
9 | prefix: IconPrefix;
|
10 | iconName: IconName;
|
11 | icon: [
|
12 | number,
|
13 | number,
|
14 | string[],
|
15 | string,
|
16 |
|
17 | string | string[]
|
18 | ];
|
19 | }
|
20 | export interface IconPack {
|
21 | [key: string]: IconDefinition;
|
22 | }
|
23 | export type IconProp = IconName | [IconPrefix, IconName] | IconLookup;
|