createNamedContext
import { createNamedContext } from "@alloy-js/core";
function createNamedContext<T>(name: string, defaultValue?: T): ComponentContext<T>;Parameters
Section titled “Parameters”| name | string | |
| defaultValue | optional T |
import { createNamedContext } from "@alloy-js/core";
function createNamedContext<T>(name: string, defaultValue?: T): ComponentContext<T>;| name | string | |
| defaultValue | optional T |