Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<button>click me</button>
`)
.add('Action and method', () => html`
<button> action('log2')(e.target)}>click me</button>
`);
storiesOf('Addon|Links', module)
.add('To Welcome', () => html`
<button>Go to welcome</button>
`);
storiesOf('Addon|Backgrounds', module)
.addDecorator(
withBackgrounds([
{ name: 'twitter', value: '#00aced', default: true },
{ name: 'facebook', value: '#3b5998' },
]),
)
.add('Button with text', () => `
<button>Click me</button>
<p>See tab "Backgrounds" at the bottom</p>
`);
storiesOf('Addon|Notes', module)
.addDecorator(withNotes)
.add('Simple note', () => `
<p><strong>See tab "notes" at the bottom.</strong></p>
`, {
notes: 'My notes on some <strong>bold</strong> text',