mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 20:11:49 +08:00
18 lines
361 B
Plaintext
18 lines
361 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: {
|
|
table: {
|
|
disable: true,
|
|
},
|
|
},
|
|
},
|
|
};
|
|
```
|