@igloo-ui/filter
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

Filter

The filter component is a button that is used to filter the items of a list or table.

Installation

To install @igloo-ui/filter in your project, you will need to run the following command using npm:

npm install @igloo-ui/filter

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/filter

Usage

Then to use the component in your code just import it!

import Filter from '@igloo-ui/filter';

<Filter
  onClick={() => {
    setSelected(!selected);
    alert('Filter was clicked');
  }}
  selected={selected}
>
  Assigned to me (5)
</Filter>;

Readme

Keywords

none

Package Sidebar

Install

npm i @igloo-ui/filter

Weekly Downloads

162

Version

0.4.1

License

Apache-2.0

Unpacked Size

23.1 kB

Total Files

7

Last publish

Collaborators

  • infra.admin
  • franckgaudin