Enode — API Reference
    Preparing search index...
    • Type Parameters

      • T

      Parameters

      • __namedParameters: {
            ariaLabel?: string;
            fullWidth?: boolean;
            onChange: (value: T) => void;
            options: readonly SegmentedPickerOption<T>[];
            scrollable?: boolean;
            value: T;
        }
        • OptionalariaLabel?: string
        • OptionalfullWidth?: boolean

          Stretch the options to share the track equally (each pill flex-1, centred). For a picker that IS the row — a drawer's top-level segment switch — where the default content-sized pills would leave the muted track trailing off empty beside them. Mutually exclusive with scrollable.

        • onChange: (value: T) => void
        • options: readonly SegmentedPickerOption<T>[]
        • Optionalscrollable?: boolean

          Let the pill track scroll horizontally when the options don't fit (e.g. five long labels on a narrow screen). Options stop shrinking so their labels never wrap or truncate; the scrollbar is hidden. Off by default so the fixed two/three-option consumers keep their equal-width row.

        • value: T

      Returns Element