Font-Awesome/js-packages/@fortawesome/fontawesome-svg-core/import.macro.d.ts

20 lines
645 B
TypeScript
Raw Normal View History

2022-03-22 23:24:29 +08:00
import {
IconDefinition,
IconName,
2022-09-01 05:02:43 +08:00
IconStyle,
IconFamily
2022-03-22 23:24:29 +08:00
} from '@fortawesome/fontawesome-common-types';
2022-09-01 05:02:43 +08:00
export type IconMacroParams = {
name: IconName,
style?: IconStyle,
family?: IconFamily
};
2022-03-22 23:24:29 +08:00
export function brands(iconName: IconName): IconDefinition;
export function duotone(iconName: IconName): IconDefinition;
export function light(iconName: IconName): IconDefinition;
export function regular(iconName: IconName): IconDefinition;
export function solid(iconName: IconName): IconDefinition;
export function thin(iconName: IconName): IconDefinition;
2022-09-01 05:02:43 +08:00
export function icon(params: IconMacroParams): IconDefinition;