@mocanvas/mocanvas · interface
interface DefaultToolbarPropsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 6
children?: ReactNodelabel?: stringAccessible name for the toolbar.
maxItems?: numberHow many children stay inline at the widest width, same counting.
maxSizePx?: numberThe width at which maxItems applies, in CSS px.
minItems?: numberHow many children stay inline at the narrowest width. The count is a
*last inline index*, not a length: children 0..itemsToShow are inline
and the rest overflow, so n keeps n + 1 of them.
minSizePx?: numberThe width at which minItems applies, in CSS px.
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.