ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface UseResultsTableProps

    Props for the UseResultsTable hook

    interface UseResultsTableProps {
        showSearchResults: Product[];
        columnFilterFns: [
            ColumnFiltersState,
            Dispatch<SetStateAction<ColumnFiltersState>>,
        ];
        getRowCanExpand: (row: Row<Product>) => boolean;
    }
    Index

    Properties

    showSearchResults: Product[]

    Array of products to display in search results

    columnFilterFns: [
        ColumnFiltersState,
        Dispatch<SetStateAction<ColumnFiltersState>>,
    ]

    Column filter state and setter function tuple

    getRowCanExpand: (row: Row<Product>) => boolean

    Function to determine if a row can be expanded