react-easy-search

This package help you filter out values from most commonly used data structure i.e array of object. It's easy to use and light weight

Usage no npm install needed!

<script type="module">
  import reactEasySearch from 'https://cdn.skypack.dev/react-easy-search';
</script>

README

** React Easy Search **

  • It's designed to filter out desired property from array of objects *

** Props **

  • placeHolder * Placeholder for input field
  • className * Use this property to make your input field look attractive
  • changeHandler * This function will be called on every keypress and it should expect filtered data as parameter
  • data * This is the data which will be filtered and it should be array of objects
  • propertyToFind * This is the property you are looking for in array of objects