storybook/docs/snippets/common/component-story-custom-source.js.mdx
2020-08-14 21:46:15 +01:00

13 lines
216 B
Plaintext

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