PillOption

Represents a selectable option that can become a pill

Definition

export interface PillOption {
    /** Display label for the option */
    label: string;
    /** The actual value used in expressions */
    value: string;
    /** Optional formatters applied to the value */
    formatters?: string[]
}

Usage

import { PillOption } from 'uxp/components';

Last updated