toolmark-monorepo / @toolmark/react / ToolScopeProps
Interface: ToolScopeProps
Defined in: packages/react/src/scope.tsx:8
Props for ToolScope.
Properties
children?
optionalchildren?: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?
optionalwhen?:boolean
Defined in: packages/react/src/scope.tsx:12
Shows (true, the default) or hides this scope's tools.