npm.io
0.7.7 • Published 2 years ago

react-icons-finder

Licence
Version
0.7.7
Deps
1
Size
8 kB
Vulns
0
Weekly
0

React Icons Finder

A simple module to fetch icons based on a specified query.

Installation

Install the module using npm:

npm install react-icons-finder

usage

import getIcons from "react-icons-finder";

const query = "food";
const limit = 2

getIcons(query, limit)
  .then((icons) => {
    console.log("Fetched Icons:", icons);
  })
  .catch((error) => {
    console.error("Failed to fetch icons:", error);
  });