# @jswork/rctpl-ant-checkbox

> React template for antd checkbox.

Latest version **1.0.1** (published 2021-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jswork/rctpl-ant-checkbox
pnpm add @jswork/rctpl-ant-checkbox
yarn add @jswork/rctpl-ant-checkbox
bun add @jswork/rctpl-ant-checkbox
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-08-25 |
| First published | 2021-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | afeiship |

## Links

- npm: https://www.npmjs.com/package/@jswork/rctpl-ant-checkbox
- npm.io page: https://npm.io/package/@jswork/rctpl-ant-checkbox

## Dependencies (3)

- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [@jswork/noop](https://npm.io/package/@jswork/noop.md) ^1.0.0
- [@jswork/filter-react-props](https://npm.io/package/@jswork/filter-react-props.md) ^1.0.2

## Recent versions

- 1.0.1 (latest) — 2021-08-25

## README

# rctpl-ant-checkbox
> React template for antd checkbox.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install -S @jswork/rctpl-ant-checkbox
```

## properties
| Name      | Type   | Required | Default | Description                           |
| --------- | ------ | -------- | ------- | ------------------------------------- |
| className | string | false    | -       | The extended className for component. |
| value     | object | false    | null    | Default value.                        |
| onChange  | func   | false    | noop    | The change handler.                   |


## usage
1. import css
  ```scss
  @import "~@jswork/boilerplate-react-component/dist/style.css";

  // or use sass
  @import "~@jswork/boilerplate-react-component/dist/style.scss";

  // customize your styles:
  $boilerplate-react-component-options: ()
  ```
2. import js
  ```js
  import React from 'react';
  import RctplAntCheckbox from '../@jswork/boilerplate-react-component';
  import styled from 'styled-components';

  const Container = styled.div`
    width: 80%;
    margin: 30px auto 0;
  `;

  export default (props: any) => {
    return (
      <Container>
        <RctplAntCheckbox />
      </Container>
    );
  };

  ```

## license
Code released under [the MIT license](https://github.com/afeiship/rctpl-ant-checkbox/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/rctpl-ant-checkbox
[version-url]: https://npmjs.org/package/@jswork/rctpl-ant-checkbox

[license-image]: https://img.shields.io/npm/l/@jswork/rctpl-ant-checkbox
[license-url]: https://github.com/afeiship/rctpl-ant-checkbox/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/rctpl-ant-checkbox
[size-url]: https://github.com/afeiship/rctpl-ant-checkbox/blob/master/dist/rctpl-ant-checkbox.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/rctpl-ant-checkbox
[download-url]: https://www.npmjs.com/package/@jswork/rctpl-ant-checkbox

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