Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 926 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 926 Bytes

react-google-material-icons

Travis npm package Coveralls

This library provide a ReactJs component for Google Material Icons.

Install

npm install react-google-material-icons

Use

import MaterialIcon from 'react-google-material-icons'

<MaterialIcon icon="account_box" size={36}/>

icon: Name of the Google Material icon

Note that size is an optional parameter which is use to set the font size of the icon. Default size is 24px.