Skip to content

toolmark-monorepo / @toolmark/react / ToolScopeProps

Interface: ToolScopeProps ​

Defined in: packages/react/src/scope.tsx:8

Props for ToolScope.

Properties ​

children? ​

optional children?: ReactNode

Defined in: packages/react/src/scope.tsx:14

Subtree whose useTool/useFormTool calls register into this scope.


name ​

name: string

Defined in: packages/react/src/scope.tsx:10

Child scope name; the full path is the enclosing scope's path + . + name.


when? ​

optional when?: boolean

Defined in: packages/react/src/scope.tsx:12

Shows (true, the default) or hides this scope's tools.