UNPKG

mrcio-ui

Version:

22 lines (12 loc) 593 B
1.安装 npm install react-svg-y --save 2.引用 import Svg from 'react-svg-y' 3.svg API 属性 属性名(name) 类型(type) 必要性(Required) 默认值(default) 描述(description) type String true 无 svg的类型 width String false "1.875rem" height String false "1.875rem" fill String false svg的颜色 4. 使用方式 <Svg type="ThumbsOn" width="2rem" height="2rem" fill="blue"/>