Font-Awesome/js-packages/@fortawesome/fontawesome-svg-core/import.macro.d.ts
2022-08-31 16:02:43 -05:00

20 lines
645 B
TypeScript

import {
IconDefinition,
IconName,
IconStyle,
IconFamily
} from '@fortawesome/fontawesome-common-types';
export type IconMacroParams = {
name: IconName,
style?: IconStyle,
family?: IconFamily
};
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;
export function icon(params: IconMacroParams): IconDefinition;