mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix: add a value prop to Checkbox (#849)
This commit is contained in:
parent
e0d5e6133e
commit
fed34e40ed
4 changed files with 22 additions and 0 deletions
6
types/Checkbox/Checkbox.d.ts
vendored
6
types/Checkbox/Checkbox.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue