import '@lion/form/lion-form.js'; import '@lion/icon/lion-icon.js'; import { bug12 } from '@lion/icon/stories/icons/bugs-collection.js'; import '@lion/input/lion-input.js'; import { html, storiesOf } from '@open-wc/demoing-storybook'; import '../lion-button.js'; storiesOf('Buttons|Button') .add( 'Used on its own', () => html`
Default Debug Submit click/space/enter me and see log Disabled
`, ) .add( 'Within a native form', () => html`
{ ev.preventDefault(); console.log('submit handler'); }} > console.log('click handler')}>Submit

Supports the following use cases:

Important notes:

`, );