storybook/docs/snippets/common/component-story-disable-controls.mdx.mdx
2022-03-23 15:12:59 +08:00

19 lines
287 B
Plaintext

```md
<!-- YourComponent.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
import { YourComponent } from './YourComponent'
<Meta
title="YourComponent"
component={YourComponent}
argTypes={{
foo: {
table: {
disable: true,
}
}
}} />
```