README
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} />;
}