mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 03:21:49 +08:00
13 lines
273 B
Plaintext
13 lines
273 B
Plaintext
```ts
|
|
// CSF 3 - explicit render function
|
|
|
|
// Other imports and story implementation
|
|
export const Default: Story = {
|
|
render: (args, { argTypes }) => ({
|
|
props: Object.keys(argTypes),
|
|
components: { Button },
|
|
template: '<Button v-bind="$props" />',
|
|
}),
|
|
};
|
|
```
|