1.0.5 • Published 5 years ago
table-column-search v1.0.5
QJ-Button
Install
npm install qj-buttonUsage
import React from 'react';
import ReactDOM from 'react-dom';
import Button from 'qj-button'
import 'qj-button/style.css'
const element = document.getElementById('root');
ReactDOM.render(<Button>button</Button>, element);API
Button
| Name | Type | Default | Description |
|---|---|---|---|
| prefixCls | string | 'qj-button' | prefixCls of this component |
| children | string/node | ||
| type | string | 'default' | type of style |
| disabled | bool | false | disable click event |
| group | bool | false | button is in group |
| inline | bool | false | button is inline |
| loading | bool | false | button is loading and disable |
| activeClassName | string | 'qj-button-active | custom pressed className |
| iconClass | string | null | className of icon |
| className | string | '' | custom className |
| onClick | func | ()=>{} | callback after click |
1.0.5
5 years ago
