budibase/packages/standard-components/src/Checkbox.svelte

12 lines
254 B
Svelte
Raw Normal View History

2020-04-23 14:22:41 +02:00
<script>
import Input from "./Input.svelte"
export let _bb
export let label = ""
export let checked = false
export let value = ""
export let onchange = () => {}
</script>
<Input type="checkbox" {_bb} {checked} {label} {value} {onchange} />