@mocanvas/mocanvas · interface

StylePanelButtonPickerProps

interface StylePanelButtonPickerProps<T extends string>

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


Properties · 5

className?: string
items: readonly StyleValuesForUi<T>[]
label: string
style: StyleProp<T>

The style being edited.

swatches?: boolean

Show colour swatches rather than icons.

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.