# @xqui/button

> > A Web component for button

Latest version **1.0.2** (published 2020-01-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install @xqui/button
pnpm add @xqui/button
yarn add @xqui/button
bun add @xqui/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.0.2 |
| Published | 2020-01-31 |
| First published | 2020-01-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | konglx |
| Maintainers | konglx |

## Links

- npm: https://www.npmjs.com/package/@xqui/button
- Repository: git@code.icloudfuture.com:kuaizhan/xiaoqiang
- npm.io page: https://npm.io/package/@xqui/button

## Recent versions

- 1.0.2 (latest) — 2020-01-31
- 1.0.1 — 2020-01-31

## README

# `xq-button`

> A Web component for button

```ts
XqButtonProps {
  theme?: 'default' | 'primary' | 'default-bordered', // theme | default
  style?: string,    // css style string | ''
  disabled?: boolean // disabled | false
}
```

## Usage

- script
```html
<script src="./qrcode.js"></script>
<xq-button value="duck" size='200'></xq-button>
```

- es6+/modern lib(framework)
```js
import React from 'react';
import '@xqui/button';

function Foo() {
  return (
    <xq-button value="duck" size='200' color="yellow"></xq-button>
  )
}
```

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