storybook/docs/snippets/web-components/csf-2-example-story.ts.mdx
2022-12-23 18:48:39 +00:00

9 lines
235 B
Plaintext

```ts
// CSF 2
// Other imports and story implementation
export const Default: Story = ({ primary, backgroundColor, size, label }) =>
html`<custom-button ?primary="${primary}" size="${size}" label="${label}"></custom-button>`;
```