storybook/docs/snippets/common/component-story-custom-source.js.mdx
2021-09-03 23:31:04 +01:00

20 lines
311 B
Plaintext

```js
// Button.stories.js | Button.stories.jsx | Button.stories.ts | Button.stories.tsx
import { Button } from './Button';
export default {
component: Button,
};
export const CustomSource = {
parameters: {
docs: {
source: {
code: 'Some custom string here',
},
},
},
};
```