Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lijinke666/rc-button
react button ui component
https://github.com/lijinke666/rc-button
button component es6 rc rc-button react react-button ui webpack webpack2
Last synced: about 1 month ago
JSON representation
react button ui component
- Host: GitHub
- URL: https://github.com/lijinke666/rc-button
- Owner: lijinke666
- License: mit
- Created: 2017-07-31T09:15:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-01T17:17:07.000Z (over 4 years ago)
- Last Synced: 2024-11-15T01:36:01.664Z (about 2 months ago)
- Topics: button, component, es6, rc, rc-button, react, react-button, ui, webpack, webpack2
- Language: JavaScript
- Homepage: https://lijinke666.github.io/rc-button/
- Size: 481 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rc-button
a react button ui component , If you want a nice or beauty button , You might use it :)## Example
### [Live Demo](https://lijinke666.github.io/rc-button/)
- `yarn` or `npm install`
- `npm run demo` run example## Install
#### use npm
```
npm install rc-button --save
```#### or user yarn
```
yarn add rc-button
```## Usage
```javascript
import React from "react"
import ReactDOM from "react-dom"
import Button from "rc-button"const Styles = {marginBottom:10}
const Demo = () => (
Example
- default
- alert('primary')}>primary
- warning
- success
- orange
- info
- alert('i am disabled')}>disabled
)
ReactDOM.render(
,
document.getElementById('root')
)
```