storybook/docs/snippets/common/api-doc-block-description-example.js.mdx
2023-02-21 22:38:18 -07:00

35 lines
537 B
Plaintext

```js
// Button.stories.js|jsx
import { Button } from './Button';
/**
* # Button stories
* These stories showcase the button
*/
export default {
component: Button
parameters: {
docs: {
description: {
component: 'Another description, overriding the comments'
}
}
}
}
/**
* # Primary Button
* This is the primary button
*/
export const Primary = {
parameters: {
docs: {
description: {
story: 'Another description on the story, overriding the comments'
}
}
}
}
```