mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Merge pull request #21132 from mayank99/patch-1
fix: Rename "Story" tab to "Code"
This commit is contained in:
commit
e7aba8a5b5
@ -6,7 +6,7 @@ import { ADDON_ID, PANEL_ID } from './index';
|
||||
|
||||
addons.register(ADDON_ID, (api) => {
|
||||
addons.addPanel(PANEL_ID, {
|
||||
title: 'Story',
|
||||
title: 'Code',
|
||||
render: ({ active, key }) => (active ? <StoryPanel key={key} api={api} /> : null),
|
||||
paramKey: 'storysource',
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user