1.8.0 • Published 2 years ago
react-icons-material v1.8.0
react-icons-material
A slim implementation offering support for MaterialUI icons in React.
Installation
npm install --save react-icons-material
or
yarn add react-icons-material
PropTypes
Name | Type | Default |
---|---|---|
size | number - string | inherit |
color | string | inherit |
icon | string | none |
theme | enum (DEFAULT, OUTLINED, ROUNDED, TWO_TONE, SHARP) | none |
Usage
Example:
import React from 'react';
import MaterialIcon, { Themes } from 'react-icons-material';
class Example extends React.Component {
render() {
return (
<div>
<MaterialIcon
theme={Themes.OUTLINED}
size='36px'
color='#369'
icon='cached'
/>
</div>
)
}
}
Icons
As this is a very slim wrapper around Material Icons, it should support any icons here.
1.2.0
2 years ago
1.1.0
2 years ago
1.8.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.2.4
2 years ago
1.5.0
2 years ago
1.2.3
2 years ago
1.4.0
2 years ago
1.2.2
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.0.0
2 years ago
0.2.0
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.1
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago