fix: add a value prop to Checkbox

This commit is contained in:
K.Kiyokawa 2021-10-13 19:46:54 +09:00
commit 5232bdb5de
4 changed files with 22 additions and 0 deletions

View file

@ -2,6 +2,12 @@
import { SvelteComponentTyped } from "svelte";
export interface CheckboxProps {
/**
* Specify the value of the checkbox
* @default ""
*/
value?: string;
/**
* Specify whether the checkbox is checked
* @default false