项目
在 GitHub 查看
plouc/react-svg-buttons
关于
React configurable animated svg buttons
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文React SVG buttons
This package provides a <MorphIcon /> component used to compose available buttons,
it's able to morph from whatever icon type to another one.
The <MorphIcon /> component exposes 18 icon types.
It also provides a set of button components.
Please, take a look at the demo.
Installation
npm install --save react-svg-buttons
Usage
import { render } from 'react-dom'
import {
MorphIcon,
CloseButton,
NavButton,
PlusButton,
} from 'react-svg-buttons'
const Demo = () => (
<div>
<MorphIcon type="thunderbolt" />
<CloseButton />
<NavButton direction="right" opened={false} />
<PlusButton />
</div>
)
render(<Demo />, document.getElementById('demo'))
License
MIT. Copyright (c) 2015 Raphaël Benitte.
探索相关项目
加载中…