Hiyve Components - v1.0.0
    Preparing search index...

    Interface RoomsListSearchBarRenderData

    Data passed to custom search bar render functions. Provides all filter/sort state and controls needed to build a custom search UI.

    interface RoomsListSearchBarRenderData {
        activeFiltersCount: number;
        clearFilters: () => void;
        entityLabels: RoomsEntityLabels;
        filterBy: FilterOption;
        searchQuery: string;
        setFilterBy: (filter: FilterOption) => void;
        setSearchQuery: (query: string) => void;
        setSortBy: (sort: SortOption) => void;
        sortBy: SortOption;
        totalRooms: number;
    }
    Index

    Properties

    activeFiltersCount: number

    Number of currently active filters

    clearFilters: () => void

    Reset all filters to defaults

    entityLabels: RoomsEntityLabels

    Resolved entity labels

    filterBy: FilterOption

    Current filter option

    searchQuery: string

    Current search query string

    setFilterBy: (filter: FilterOption) => void

    Update the filter option

    setSearchQuery: (query: string) => void

    Update the search query

    setSortBy: (sort: SortOption) => void

    Update the sort option

    sortBy: SortOption

    Current sort option

    totalRooms: number

    Total number of rooms (before filtering)