Home > @uniformdev/mesh-sdk-react > SearchAndFilterProviderProps
SearchAndFilterProviderProps type
Signature:
type SearchAndFilterProviderProps = {
filters: Filter[];
filterVisible?: boolean;
alwaysVisible?: boolean;
onSearchChange?: (term: string) => void;
onChange: (filters: Filter[]) => void;
defaultSearchTerm?: string;
resetFilterValues?: Filter[];
filterOptions: FilterOptionGroup[];
onResetFilterValues?: () => void;
totalResults?: number;
filterMapper?: FilterMapper;
children: ReactNode;
allowBindingSearchTerm?: boolean;
};
References: Filter, FilterMapper