node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

@jenkins-cd/react-material-icons

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
/>