@commercetools-uikit/filters
v19.12.0
Published
The `Filters` component displays filter controls.
Downloads
172
Readme
Filters
Description
The Filters
component displays all active filters. It also allows for adding and removing filters.
This description is a stub and shold be expanded as development continues.
Installation
yarn add @commercetools-uikit/filters
npm --save install @commercetools-uikit/filters
Additionally install the peer dependencies (if not present)
yarn add react
npm --save install react
Usage
import Filters from '@commercetools-uikit/filters';
/**TODO: EXPAND THIS */
const Example = () => <Filters />;
export default Example;
Properties
| Props | Type | Required | Default | Description |
| ------- | -------- | :------: | ------- | -------------------- |
| label
| string
| ✅ | | This is a stub prop! |