storybook/docs/snippets/common/component-story-custom-source.js.mdx
2021-01-28 00:11:22 +00:00

14 lines
212 B
Plaintext

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