React Icons

您所在的位置:网站首页 reacti React Icons

React Icons

2023-03-15 11:33| 来源: 网络整理| 查看: 265

React Icons

npmtravis ci

Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.

Installation (for standard modern project)npm install react-icons --saveUsageimport { FaBeer } from 'react-icons/fa';class Question extends React.Component { render() { return Lets go for a ? }}Installation (for meteorjs, gatsbyjs, etc)

If your project grows in size, this option is available. This method has the trade-off that it takes a long time to install the package. Suitable for MeteorJS, Gatsbyjs etc.

npm install @react-icons/all-files --saveUsageimport { FaBeer } from "@react-icons/all-files/fa/FaBeer";class Question extends React.Component { render() { return Lets go for a ? }}More info

GitHub ↗



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3