Function: SingleChoiceToggleGroup

SingleChoiceToggleGroup<T>(«destructured»): Element

A toolbar primitive that allows you to build an UI with multiple exclusive toggle groups, like the list type toggle.

Type parameters

NameType
Textends string

Parameters

NameType
«destructured»Object
› className?string
› items{ contents: ReactNode ; title: string ; value: T }[]
› onChange(value: T) => void
› valueT

Returns

Element