labelrequired- string
- Its name for assistive technology, in the product's words ("Tools").
sheet- boolean
- Default:
false - Drawn as a sheet over the plane.
dock- boolean
- Default:
false - Stands as the plane's dock: the tools alone, one row of icon buttons at the bottom centre of the canvas, with the body above them. A dock takes no head and no fold, no drag and no sheet at any width: the plane pins it while the canvas moves under it. Default: the side panel.
place- { side: "left" | "right"; anchor: "top" | "bottom"; collapsed?: boolean }
- Where it stands. A product keeps it; the part stores nothing when the prop is given.
defaultPlace- { side: "left" | "right"; anchor: "top" | "bottom"; collapsed?: boolean }
- Default:
DEFAULT_PANEL onPlaceChange- (place: CanvasPanelPlace) => void
tools- readonly CanvasTool[]
- The tools its bar offers, in the bar's order; with one or none the bar draws no choice. Default: all six.
tool- "select" | "hand" | "comment" | "draw" | "xray" | "design"
- The plane's tools: the bar's choices, and the state a product keeps.
defaultTool- "select" | "hand" | "comment" | "draw" | "xray" | "design"
- Default:
"select" - The plane's tools: the bar's choices, and the state a product keeps.
onToolChange- (tool: CanvasTool) => void
fill- boolean
- Default:
false - The body fills the panel and scrolls on its own (a thread's list with its field at its foot): the open panel stands at its greatest height, the body does not scroll, and its one child is stretched to the height the head and the bar leave. Without it the body scrolls as one column. Design owns its own scrollport.
toolBodies- Partial<Readonly<Record<CanvasTool, ReactNode>>>
- A tool's own body, which stands in place of
children while that tool is in hand: Design mode's controls. A collapsed panel opens when a tool with a body of its own is taken up. rootStyle- CanvasPanelStyle
children- ReactNode
- Its body: a comment panel, Facts of what is selected.