storybook/docs/snippets/common/component-story-csf-description.js.mdx
2021-01-28 00:11:22 +00:00

24 lines
396 B
Plaintext

```js
// Button.stories.js | Button.stories.ts
export default {
title: 'CustomDescription',
parameters: {
docs: {
description: {
component: 'some component _markdown_',
},
},
},
};
export const WithStoryDescription = Template.bind({});
WithStoryDescription.parameters = {
docs: {
description: {
story: 'some story **markdown**',
},
},
};
```