()
| 20 | } |
| 21 | |
| 22 | export function DefaultCheckedExample() { |
| 23 | return ( |
| 24 | <Checkbox class={style.checkbox} defaultChecked> |
| 25 | <Checkbox.Input class={style.checkbox__input} /> |
| 26 | <Checkbox.Control class={style.checkbox__control}> |
| 27 | <Checkbox.Indicator> |
| 28 | <CheckIcon /> |
| 29 | </Checkbox.Indicator> |
| 30 | </Checkbox.Control> |
| 31 | <Checkbox.Label class={style.checkbox__label}>Subscribe</Checkbox.Label> |
| 32 | </Checkbox> |
| 33 | ); |
| 34 | } |
| 35 | |
| 36 | export function ControlledExample() { |
| 37 | const [checked, setChecked] = createSignal(false); |
nothing calls this directly
no outgoing calls
no test coverage detected