mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 07:01:53 +08:00
16 lines
264 B
Plaintext
16 lines
264 B
Plaintext
```js
|
|
// CSF 2
|
|
|
|
import { html } from 'lit';
|
|
|
|
export default {
|
|
title: 'components/Button',
|
|
component: 'demo-button',
|
|
};
|
|
|
|
export const Primary = ({ primary }) => html`<custom-button ?primary=${primary}></custom-button>`;
|
|
Primary.args = {
|
|
primary: true,
|
|
};
|
|
```
|