Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow-ui / index / ToggleGroupProps

Interface: ToggleGroupProps

Defined in: flow-ui/src/components/Toggle.tsx:80

Indexable

[key: string]: unknown

Properties

bind?

optional bind?: unknown

Defined in: flow-ui/src/components/Toggle.tsx:82

Bound

Expose

value — a string, or an array when multiple.


name?

optional name?: string

Defined in: flow-ui/src/components/Toggle.tsx:83


options

options: ToggleOption[]

Defined in: flow-ui/src/components/Toggle.tsx:84


multiple?

optional multiple?: boolean

Defined in: flow-ui/src/components/Toggle.tsx:86

Allow several pressed at once; the bound value becomes an array.


variant?

optional variant?: "default" | "outline"

Defined in: flow-ui/src/components/Toggle.tsx:87


size?

optional size?: "default" | "sm" | "lg"

Defined in: flow-ui/src/components/Toggle.tsx:88


class?

optional class?: string

Defined in: flow-ui/src/components/Toggle.tsx:89