@jenkins-cd/react-material-icons
v1.0.0
Published
React Component with google material icons.
Downloads
7
Readme
Simple component for Material Icons in React.
Usage & Docs
Install
npm install
npm install @jenkins-cd/react-material-icons
Import module
ES6
import {Icon} from "@jenkins-cd/react-material-icons";
Usage
<Icon
icon="amazon"// Icon to use
style={{ fill: "#fff" }} // Styles prop for icon (svg)
className="amazon" // arbitrary class name
focusable="true" // applied to svg attribute; false by default
/>