1.1.0 • Published 3 years ago

react-searchable-filter v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-searchable-filter

Searchable React Filter component

NPM JavaScript Style Guide Netlify Status

Install

npm install --save react-searchable-filter-box

Guide and documentation

Read the full Documentation here.

Usage

import React from 'react'

import Filter from 'react-searchable-filter'
import 'react-searchable-filter/dist/index.css'

const App = () => {
  const data = [
    {
      filterBy: 'username',
      description: 'filter by username',
      values: ['John', 'Albert', 'Robert']
    },
    {
      filterBy: 'status',
      values: ['finished', 'not-finished', 'pending'],
      description: 'filter by status'
    }
  ]
  return <Filter options={data} placeholder='Filter users' />
}

Demo

Check out the working demo of the react-searchable-filter.

License

MIT © ashwinKumar0505

1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago