@mocanvas/mocanvas · interface

TLUiToolbarToggleGroupProps

interface TLUiToolbarToggleGroupProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 7

children?: ReactNode
className?: string
label: string
onValueChange?(value: string): void
type?: "single" | "multiple"

"single" behaves as a radio group, "multiple" as a set of toggles.

value?: string
values?: readonly string[]

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.