storybook/docs/snippets/common/component-story-disable-controls-alt.mdx.mdx

16 lines
261 B
Plaintext

```md
<!-- YourComponent.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
import { YourComponent } from './your-component'
<Meta
title='YourComponent'
argTypes={{
foo:{
control: false
}
}}
component={YourComponent} />
```