@mocanvas/mocanvas · function

StylePanelButtonPickerInline

declare function StylePanelButtonPickerInline<T extends string>({ style, label, items, swatches, className }: StylePanelButtonPickerProps<T>): react.JSX.Element

A row of buttons, one per value: the shape for a style with four or five choices that each have a glyph — fill, dash, size, alignment.

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.