@searchcraft/react-sdk / SearchcraftFilterPanel
SearchcraftFilterPanel(
props
,deprecatedLegacyContext
?):ReactNode
A component that represents a filter panel UI view, allowing users to refine and control their search queries by applying various filter criteria.
Parameters
props
deprecatedLegacyContext?
any
Deprecated
See
Returns
ReactNode
Example
import React from 'react';
import { SearchcraftFilterPanel } from '@searchcraft/react-sdk';
import filterItems from './filterItems';
const MyFilterComponent = () => {
return (
<SearchcraftFilterPanel items={filterItems} />
);
};
export default MyFilterComponent;