mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 08:01:54 +08:00
16 lines
336 B
Plaintext
16 lines
336 B
Plaintext
```js
|
|
// YourComponent.stories.js | YourComponent.stories.jsx | YourComponent.stories.ts | YourComponent.stories.tsx
|
|
|
|
import { YourComponent } from './YourComponent';
|
|
|
|
export default {
|
|
component: YourComponent,
|
|
argTypes: {
|
|
// foo is the property we want to remove from the UI
|
|
foo: {
|
|
control: false,
|
|
},
|
|
},
|
|
};
|
|
```
|