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