diff --git a/packages/mock-addon-docs/stories/docs/advanced-setup.stories.mdx b/packages/mock-addon-docs/stories/docs/advanced-setup.stories.mdx index 725ba94..d729c28 100644 --- a/packages/mock-addon-docs/stories/docs/advanced-setup.stories.mdx +++ b/packages/mock-addon-docs/stories/docs/advanced-setup.stories.mdx @@ -24,6 +24,7 @@ You can set global configuration for the addon. Go to the `.sto | ---------- | :------------------------------------------------------------------------------------------ | :------ | | `globalMockData` | An array of mock objects which will add in every story | [] | | `refreshStoryOnUpdate` | This re-render the story if there's any data changes | false | +| `disable` | This disables the panel from all the stories | false | ```js @@ -38,6 +39,7 @@ export const parameters = { response: {}, }], refreshStoryOnUpdate: true, // This re-render the story if there's any data changes + disable: true, // This disables the panel from all the stories } ... } @@ -148,6 +150,25 @@ FetchCall.parameters = { ], }; ``` +