import.macro.d.ts 645 B

1234567891011121314151617181920
  1. import {
  2. IconDefinition,
  3. IconName,
  4. IconStyle,
  5. IconFamily
  6. } from '@fortawesome/fontawesome-common-types';
  7. export type IconMacroParams = {
  8. name: IconName,
  9. style?: IconStyle,
  10. family?: IconFamily
  11. };
  12. export function brands(iconName: IconName): IconDefinition;
  13. export function duotone(iconName: IconName): IconDefinition;
  14. export function light(iconName: IconName): IconDefinition;
  15. export function regular(iconName: IconName): IconDefinition;
  16. export function solid(iconName: IconName): IconDefinition;
  17. export function thin(iconName: IconName): IconDefinition;
  18. export function icon(params: IconMacroParams): IconDefinition;