1.0.1 • Published 6 months ago

eventsquare-remixicon-react v1.0.1

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

eventsquare-remixicon-react-builder

Remix Icons for React packaged as single components

This repo is based on the very good mdi-react package.

Installation

npm install eventsquare-remixicon-react
# or if you use Yarn
yarn add eventsquare-remixicon-react

Usage

Just search for an icon on remixicon.com and look for its name.
The name translates to Svg followed by the name in remixicon-react converted to PascalCaseIcon.

For example the icons named alert-line and alert-fill:

import AlertLineIcon from 'eventsquare-remixicon-react/AlertLineIcon';
import AlertFillIcon from 'eventsquare-remixicon-react/AlertFillIcon';

const MyComponent = () => {
  return (
    <div>
      <AlertFillIcon />
      <AlertLineIcon className="some-class" />
    </div>
  );
};
1.0.1

6 months ago