storybook/docs/snippets/web-components/button-story-with-emojis.js.mdx
2021-11-09 01:41:54 +00:00

14 lines
455 B
Plaintext

```ts
// demo-button.stories.js
import { html } from 'lit-html';
import './demo-button';
export default {
title: 'Button',
}
export const Primary = () => html`<demo-button .background="#ff0" .label="Button"></demo-button>`;
export const Secondary = () => html`<demo-button .background="#ff0" .label="😄👍😍💯"></demo-button>`;
export const Tertiary = () => html`<demo-button .background="#ff0" .label="📚📕📈🤓"></demo-button>`;
```