UNPKG

bulmil

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

25 lines (24 loc) 711 B
import { boolean } from '@storybook/addon-knobs'; import { html } from 'lit-html'; export default { title: 'Form|Checkbox', component: 'bm-checkbox', }; export const Example = () => { return html ` <bm-section class="story-center"> <bm-checkbox checked="${boolean('Checked', false)}" disabled="${boolean('Disabled', false)}"> Remember me </bm-checkbox> </bm-section> `; }; export const WithLinks = () => { return html ` <bm-section class="story-center"> <bm-checkbox checked="${boolean('Checked', false)}" disabled="${boolean('Disabled', false)}"> I agree to the <a href="#">terms and conditions</a> </bm-checkbox> </bm-section> `; };