@lewisjs/button
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

@lewisjs/button

基础按钮组件

Usage

import Button from '@lewisjs/button';
import '@lewisjs/button/build/index.css';

<Button className="test-btn" onClick={() => { alert('创建成功'); }}>按钮文字</Button>
参数 描述 类型 可选 默认值
disabled 是否可以点击 boolean false
type 按钮类型 string
onClick 点击回调 function

Dependents (0)

Package Sidebar

Install

npm i @lewisjs/button

Weekly Downloads

0

Version

1.3.1

License

MIT

Unpacked Size

5.82 kB

Total Files

7

Last publish

Collaborators

  • luoshuai9905289