storybook/docs/snippets/common/component-story-csf-description.js.mdx
2020-08-14 21:46:15 +01:00

23 lines
397 B
Plaintext

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