diff --git a/docs/addons/addons-api.md b/docs/addons/addons-api.md index 41daafbe8009..5a0464170067 100644 --- a/docs/addons/addons-api.md +++ b/docs/addons/addons-api.md @@ -41,7 +41,7 @@ The `add` method allows you to register the type of UI component associated with -The render function is called with `active` and `key`. The `active` value will be true when the panel is focused on the UI. +The render function is called with `active`. The `active` value will be true when the panel is focused on the UI. diff --git a/docs/snippets/common/storybook-addon-panel-initial.js.mdx b/docs/snippets/common/storybook-addon-panel-initial.js.mdx index f097d264461a..9441938a0651 100644 --- a/docs/snippets/common/storybook-addon-panel-initial.js.mdx +++ b/docs/snippets/common/storybook-addon-panel-initial.js.mdx @@ -14,8 +14,8 @@ addons.register(ADDON_ID, (api) => { addons.add(PANEL_ID, { type: types.PANEL, title: 'My Addon', - render: ({ active, key }) => ( - + render: ({ active }) => ( +
Storybook addon panel
),