1.2.4 • Published 9 months ago
icons-render-library v1.2.4
Icons Render Library
A React component library for rendering customizable icons based on user subscriptions. This library is designed for use in JavaScript (Vanilla), TypeScript (Vanilla), React.js, and React with TypeScript (TSX).
Installation
You can install the library using npm:
npm install icons-render-library
Usage
In React
Here's an example of how to use the IconRender component in your React application:
import React from 'react'; import { IconRender } from 'icons-render-library';
const App = () => { const userToken = 'your-user-token'; // Replace with your actual user token const iconName = 'your-icon-name'; // Replace with the name of the icon you want to render
return (
export default App;