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

0.0.2 • Public • Published

@kokoro-ui/checkbox



npm

npm i @kokoro-ui/checkbox

pnpm

pnpm add @kokoro-ui/checkbox

yarn

yarn add @kokoro-ui/checkbox

Usage

Typescript

import { Checkbox } from "@kokoro-ui/checkbox";

const app = () => {
    return (
        <Checkbox
            onCheck={(isChecked: boolean) => { 
                console.log(isChecked); 
            }}
            selected
        >
            <div className="text-white">
                Checkbox Checked
            </div>
        </Checkbox>
    )
};

export default app;

Javascript

const { checkbox } = require("@kokoro-ui/checkbox");

const app = () => {
    return (
        <Checkbox
            onCheck={(isChecked) => {
                console.log(isChecked);
            }}
            selected
        >
            <div className="text-white">
                Checkbox Checked
            </div>
        </Checkbox>
    )
};

export default app;

Package Sidebar

Install

npm i @kokoro-ui/checkbox

Weekly Downloads

0

Version

0.0.2

License

GPL-3.0

Unpacked Size

39.2 kB

Total Files

7

Last publish

Collaborators

  • stevanvincent