FontAwesomeIconProps

Props for FontAwesome icons Extends FontAwesome's own props with our base props

Definition

export interface FontAwesomeIconProps extends BaseIconProps {
    /**
     * FontAwesome icon in IconProp format or string format
     * @example ['fas', 'save']
     * @example "fas save"
     */
    icon: IconProp | string;

    /**
     * Icon size - FontAwesome size prop
     */
    size?: FAIconProps['size'];
}

Usage

import { FontAwesomeIconProps } from 'uxp/components';

Last updated