Skip to content

tinper-bee/bee-svgicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 24, 2020
2ec07c0 · Apr 24, 2020

History

9 Commits
Apr 24, 2020
Nov 5, 2019
Nov 5, 2019
Nov 5, 2019
Nov 5, 2019
Nov 5, 2019
Oct 31, 2019
Nov 1, 2019
Apr 24, 2020
Mar 30, 2020
Oct 31, 2019
Apr 24, 2020
Oct 31, 2019
Nov 5, 2019
Apr 24, 2020
Mar 30, 2020
Apr 24, 2020
Apr 24, 2020

Repository files navigation

bee-svgicon

npm version Build Status Coverage Status devDependency Status NPM downloads Average time to resolve an issue Percentage of issues still open

react bee-svgicon component for tinper-bee

使用方法

import SvgIcon from 'bee-svgicon';
import 'bee-svgicon/build/SvgIcon.css';

API

参数 说明 类型 默认值
className 自定义类名 string -
type 图标类型。遵循图标的命名规范 string -
component 控制如何渲染图标,通常是一个渲染根标签为 的 React 组件,会使 type 属性失效 ComponentType -

开发调试

$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-svgicon
$ cd bee-svgicon
$ npm install
$ npm run dev