This package has been deprecated

Author message:

Package is obsolete. Use @olenbetong/ob-react instead.

@olenbetong/checkbox
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

React Checkbox

Simple checkbox component with animation on toggle.

Getting started

Installation

Install from NPM

npm i @olenbetong/checkbox

or use build from Unpkg

<script
  type="text/javascript"
  crossorigin
  src="https://unpkg.com/@olenbetong/checkbox/dist/iife/checkbox.min.js"
></script>

Usage

Use like a normal checkbox.

import Checkbox from "@olenbetong/checkbox";

function MyComponent(props) {
  return <Checkbox checked={true} />;
}

Package Sidebar

Install

npm i @olenbetong/checkbox

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

46.8 kB

Total Files

12

Last publish

Collaborators

  • bjornarvh