Skip to content

toolmark-monorepo / @toolmark/react / useCurrentScope

Function: useCurrentScope() ​

useCurrentScope(): Scope | undefined

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

The current Scope, or undefined at the registry root (outside any <ToolScope>).

Returns ​

Scope | undefined