storybook/docs/snippets/common/component-story-custom-source.js.mdx
2021-05-06 21:05:56 +01:00

13 lines
211 B
Plaintext

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