@mocanvas/mocanvas · function

DefaultToolbar

declare function DefaultToolbar({ minItems, maxItems, minSizePx, maxSizePx, label, children, }: DefaultToolbarProps): react.JSX.Element

The toolbar plate. Children past the width budget move into a "more" popover, in order; a child that renders nothing still takes a slot, so a caller mapping over a fixed id list gets a stable split.

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.