• Get and set state of a panel

    Note: id is optional if hook is used within the component of a panel.

    Type Parameters

    • T

    Parameters

    • Optional defaultState: T
    • Optional id: string
    • Optional local: boolean
    • Optional scope: string

    Returns (undefined | T | SetterOrUpdater<T>)[]

Generated using TypeDoc