Skip to content

SearchcraftFilterPanel

**@searchcraft/react-sdk**


@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

`SearchcraftFilterPanelProps`

deprecatedLegacyContext?

any

Deprecated

See

React Docs

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;