useScopes
useScopes(
options
={}
):ScopeTuple
<unknown
>[]
Gets the scopes implicitly in context for the current component.
Scope can also be explicitly provided to this hook.
Parameters
Parameter | Type | Description |
---|---|---|
options | MoleculeScopeOptions | to provide explicit scopes or scope overrides |
Returns
ScopeTuple
< unknown
>[]
a set of scopes