Home > @findkit/ui > PreactFunctions > useContext
PreactFunctions.useContext() method
Signature:
useContext<T>(this: void, context: Context<T>): T;
Parameters
Parameter | Type | Description |
---|---|---|
this | void | |
context | Context<T> |
Returns:
T
Home > @findkit/ui > PreactFunctions > useContext
Signature:
useContext<T>(this: void, context: Context<T>): T;
Parameter | Type | Description |
---|---|---|
this | void | |
context | Context<T> |
Returns:
T