Skip to content
Bunshi
GitHub

useScopes

useScopes(options?): ScopeTuple< unknown >[]

Gets the scopes that are implicitly in context for the current component.

Scopes can also be set and overridden explicitly by passing in options to this hook.

Parameters

ParameterTypeDescription
options?MoleculeScopeOptions

Returns

ScopeTuple< unknown >[]

Source

src/react/useScopes.tsx:18