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

      • T

      Parameters

      • __namedParameters: {
            ariaLabel?: string;
            onChange: (value: T) => void;
            options: readonly SegmentedPickerOption<T>[];
            scrollable?: boolean;
            value: T;
        }
        • OptionalariaLabel?: string
        • 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