Function: SingleChoiceToggleGroup()

SingleChoiceToggleGroup<T>(__namedParameters): Element

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

Type parameters

Type parameter
T extends string

Parameters

ParameterType
__namedParametersobject
__namedParameters.className?string
__namedParameters.itemsobject[]
__namedParameters.onChange(value) => void
__namedParameters.value"" | T

Returns

Element