React 如何科学合理的使用 Icon
npm install @icon-park/react
javascriptimport React, { Component } from 'react'; import { Shield } from '@icon-park/react'; export default class Icon extends Component { render() { return ( <div> <Shield theme="outline" size="28" fill="#333" strokeWidth={3} strokeLinejoin="miter" strokeLinecap="square" /> </div> ); } }