storybook/docs/snippets/web-components/button-story-with-emojis.js.mdx
2023-02-16 09:13:06 +08:00

23 lines
496 B
Plaintext

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