1.0.1 • Published 11 months ago

simple-react-search v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

simple-react-search

simple react hook which provide easy search from search metadata

NPM JavaScript Style Guide

Install

npm install --save simple-react-search

Usage

import React, { Component } from "react";

import { useReactSearch } from "simple-react-search";

const Example = () => {
  const searchFunction = useReactSearch(searchMetadata, ["listofkeys"]);
  // searchFunction will accept one string input query and return list of object which match with query.
  return <div>{example}</div>;
};

License

MIT © satish358

1.0.1

11 months ago

1.0.0

11 months ago