# icsoc-rc-button

> 基于antd的react组件扩展

Latest version **1.2.5** (published 2019-11-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install icsoc-rc-button
pnpm add icsoc-rc-button
yarn add icsoc-rc-button
bun add icsoc-rc-button
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.5 |
| Published | 2019-11-07 |
| First published | 2019-08-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | icsoc |

## Links

- npm: https://www.npmjs.com/package/icsoc-rc-button
- npm.io page: https://npm.io/package/icsoc-rc-button

## Recent versions

- 1.2.5 (latest) — 2019-11-07
- 1.2.0 — 2019-08-01

## README

---
category: Components
type: 数据录入
title: Button
subtitle: 按钮
order: 0
---

在 Ant Design 的 `Button` 组件上进行的扩展。不同之处主要在于，增加了 `type` `radius` 属性。

> `type` 表示状态按钮， `radius` 表示按钮形状（详情请查看代码演示与 API）。

## API

| 参数   | 说明                                                                                                                | 类型    | 默认值 |
| ------ | ------------------------------------------------------------------------------------------------------------------- | ------- | ------ |
| type   | 设置按钮类型，可选值为 `primary` `dashed` `danger`(Ant Design 版本 2.7 中增加) `success` `warning` `error` 或者不设 | string  | -      |
| radius | 设置按钮为圆角按钮                                                                                                  | boolean | false  |

`type` 属性在 Ant Design 的基础上增加了 `success` `warning` `error` 三个可选值。

---
_Source: https://npm.io/package/icsoc-rc-button · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
