Renders a choice among a few values as a row of buttons, in the .visibility-toggle style.

Functions

f
Segmented<V>(unnamed 0: SegmentedProps<V>): React.JSX.Element

Renders the options as buttons, the one equal to value marked active.

Interfaces

I
SegmentedOption

Passed in SegmentedProps.options. Its value is compared with === and must be unique as a string, since it keys the button.

I
SegmentedProps

Passed to Segmented by SegmentedField for a form, and by the profile's settings and role switcher, which save each click at once.