Skip to content

Latest commit

 

History

History
 
 

material-icon

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

React Material Icon

A React wrapper for Material Icons.

Installation

npm install @material/react-material-icon

Usage

import MaterialIcon from '@material/react-material-icon';

const MyComponent = () => {
  return (
    <MaterialIcon icon='menu' />
  );
}

Props

Prop Name Type Description
icon string Type of icon to be displayed.
className string Classes to pass on to the root <i> element.
hasRipple n/a If present on element, it will enable the ripple on the icon.