simple react hook which provide easy search from search metadata
npm install --save simple-react-search
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>;
};
MIT © satish358