useContext
import { useContext } from "@alloy-js/core";
function useContext<T>(context: ComponentContext<T>): T | undefined;
Parameters
context |
|
Returns
T | undefined
import { useContext } from "@alloy-js/core";
function useContext<T>(context: ComponentContext<T>): T | undefined;
context |
|
T | undefined