@kokoro-ui/checkbox
v0.0.2
Published
Kokoro UI checkbox package
Downloads
1
Maintainers
Readme
@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;