blessed-components - v1.20.0
    Preparing search index...

    Interface InspectorPanelData<TTab, TAction>

    interface InspectorPanelData<
        TTab extends InspectorPanelTab = InspectorPanelTab,
        TAction extends InspectorPanelAction = InspectorPanelAction,
    > {
        actions?: readonly TAction[];
        activeActionId?: string;
        metadata?: RenderInspectorPanelMetadata;
        onAction?: (action: TAction) => void;
        onTabChange?: (id: string) => void;
        subtitle?: string;
        tabs: readonly TTab[];
        title: string;
        value?: string;
    }

    Type Parameters

    Index

    Properties

    actions?: readonly TAction[]
    activeActionId?: string
    metadata?: RenderInspectorPanelMetadata
    onAction?: (action: TAction) => void
    onTabChange?: (id: string) => void
    subtitle?: string
    tabs: readonly TTab[]
    title: string
    value?: string