Skip to content

Commit

Permalink
Merge branch 'next' into fix-vue3-showcode-attributeSoruce-prefix-val…
Browse files Browse the repository at this point in the history
…idation
  • Loading branch information
Tap-Kim authored Jan 17, 2024
2 parents 5b1ff1b + 1915bbc commit 709b759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/addons/addons-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The `add` method allows you to register the type of UI component associated with

<Callout variant="info">

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.

</Callout>

Expand Down
4 changes: 2 additions & 2 deletions docs/snippets/common/storybook-addon-panel-initial.js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ addons.register(ADDON_ID, (api) => {
addons.add(PANEL_ID, {
type: types.PANEL,
title: 'My Addon',
render: ({ active, key }) => (
<AddonPanel active={active} key={key}>
render: ({ active }) => (
<AddonPanel active={active}>
<div> Storybook addon panel </div>
</AddonPanel>
),
Expand Down

0 comments on commit 709b759

Please sign in to comment.