PhosphorIconProps

Props for Phosphor icons

Definition

export interface PhosphorIconProps extends BaseIconProps {
    /**
     * Phosphor icon in PHIconProp format or string format
     * @example ['phb', 'house']
     * @example "phb house"
     * @example "house"
     */
    icon: PHIconProp | string;

    /**
     * Icon size - supports FontAwesome size strings, numbers, or CSS units
     */
    size?: SizeProp | number | string;
}

Usage

import { PhosphorIconProps } from 'uxp/components';

Last updated