Skip to content

Simple react hook which help to search from metadata with optimum solution

Notifications You must be signed in to change notification settings

satish358/simple-react-search

Repository files navigation

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

About

Simple react hook which help to search from metadata with optimum solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published