[]previous and next page

ContextOptions

Options of createContext.

Options of createContext.

Import#

ts
import type { ContextOptions } from "@shadow-js/core";

Signature#

ts
interface ContextOptions {
  /**
   * Label shown in diagnostics and used as the description of the context's `id` symbol.
   * @default "context"
   */
  name?: string;
}

Members#

Name Type Description
name? name?: string Label shown in diagnostics and used as the description of the context's id symbol.