storybook/docs/snippets/common/component-story-csf-description.js.mdx
2021-06-28 23:00:33 +01:00

23 lines
437 B
Plaintext

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