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

13 lines
216 B
Plaintext

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