Skip to content

React Icon

摘要说明

本文主要展示 @chenwei02/react-icon 库在react的应用。

@chenwei02/react-icon

1. 图标集合

查看源码

2. Install

npm install @chenwei02/react-iconyarn add @chenwei02/react-icon

3. Quick Start

ts
import { Message, Eye, Logo } from '@chenwei02/react-icon'
const IconDemo = () => {
  return (
    <div>
    <Eye size={30} color={'red'} />
    </div>
  )
}

4. Svg Attributes

nametypedefault
sizenumberundefined
widthnumberundefined
heightnumberundefined
classNamestringundefined
colorstringundefined
fillstringundefined
strokestringundefined

评论交流区