storybook/docs/snippets/common/component-story-custom-source.js.mdx
2020-10-07 13:10:34 +08:00

14 lines
192 B
Plaintext

```js
// Button.stories.js
export const CustomSource = () => Template.bind({});
CustomSource.parameters = {
docs: {
source: {
code: 'Some custom string here',
},
},
};
```