Class Command<STATE, CONTEXT>

Type Parameters

  • STATE extends any = void
  • CONTEXT extends any = void

Hierarchy (view full)

Implements

Constructors

Methods

  • Parameters

    • Optional context: DynamicContext<CONTEXT>

    Returns string

  • Parameters

    • Optional context: DynamicContext<CONTEXT>

    Returns ReactNode

  • A unique key for the command. This is how the command is identified within the CommandTree

    Returns string

    Remarks

    Immutable

  • Parameters

    • Optional scope: string
    • Optional scopedContext: CONTEXT

    Returns string

  • Represents the current state of the value that can also be set

    Returns STATE

  • Parameters

    • Optional context: DynamicContext<CONTEXT>

    Returns string[]