UseDrawerItemsOptions

Definition

export interface UseDrawerItemsOptions {
    // Search
    searchQuery?: string

    // Filters
    type?: WidgetDrawerType
    status?: WidgetDrawerStatus
    category?: string

    // Pagination (for widgets)
    page?: number

    // Context
    existingWidgets?: IWidgetInstance[]

    // Configuration
    enableUIs?: boolean  // Default true, can disable UIs in prod
}

Usage

Last updated