fix: add a value prop to Checkbox (#849)

This commit is contained in:
KoichiKiyokawa 2021-10-13 23:38:51 +09:00 committed by GitHub
commit fed34e40ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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