Skip to content

wendy88801/vue-cityserch

Repository files navigation

QJ-Button

react component button NPM version Build Status

Install

npm install qj-button

qj-button

Usage

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

About

vue编写的城市选择组件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published