介绍:material-design-icons 是由 Google 开源的 Material 设计图标集
1.安装:
npm install material-design-icons
2.在你的入口sass或者less里引入material-icons.css
@import '~material-design-icons/iconfont/material-icons.css';
body:{...}
3.直接使用:<span className="material-icons">check_circle</span>
const Child = (props) => {
return (
<div>
<span className="material-icons">check_circle</span>
</div>
)
}
export default Child