Filters

Purpose

The Filters component is a wrapper for the Filter component, it provides a simple way to render all of the filters.

Usage

If a render method is not provided the built-in component for sorting will be rendered.

import React from "react";
import { Filters } from "@usereactify/search";

export const Component: React.FC = () => {
  return (
    <Filters
      renderFilterList={ExampleFilterList}
      renderFilterRange={ExampleFilterRange}
      renderFilterSlider={ExampleFilterSlider}
    />
  );
};

Props

Configure

The Filters component is configured within the Filters Groups page of the Reactify Search app.

Last updated

Was this helpful?