Practic BUI (Base UI) - v1.0.0
    Preparing search index...
    • Choose one value from a fixed list of string options, keeping the option type through the change callback. Inside a SafeArea, its list stays within the area.

      Type Parameters

      • T extends string

      Parameters

      • props: {
            label: string;
            onChange: (value: T) => void;
            options: readonly CtrlSelectOptionItem<T>[];
            overrides?: CtrlSelectOptionOverrides;
            value: T;
        }

        Select properties.

        • label: string

          Visible and accessible label.

        • onChange: (value: T) => void

          Receives the newly chosen value.

        • options: readonly CtrlSelectOptionItem<T>[]

          Values to choose from, with their display labels.

        • Optionaloverrides?: CtrlSelectOptionOverrides

          Props for the label, the trigger, its value, the positioner and the popup.

        • value: T

          Currently chosen value.

      Returns Element