Skip to content

Commit b898df3

Browse files
authored
docs(VersionSwitch): enable version-switch button again (#8076)
1 parent 1dca378 commit b898df3

4 files changed

Lines changed: 2 additions & 3 deletions

File tree

.storybook/addons/version-switch/manager.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

.storybook/components/VersionSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ addons.register(ADDON_ID, () => {
5555
return (
5656
<>
5757
<IconButton
58-
active
5958
key={TOOL_ID}
6059
id={TOOL_ID}
6160
title="Version Switch"
6261
style={{ order: -1 }}
62+
variant="solid"
6363
onClick={() => {
6464
setOpen(true);
6565
}}

.storybook/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const storyList: StoriesEntry[] = isChromatic
5050
];
5151

5252
const addons = [
53-
'./addons/version-switch',
5453
{
5554
name: '@storybook/addon-docs',
5655
options: {

.storybook/manager.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React from 'react';
44
import { addons } from 'storybook/manager-api';
55
import { Badge } from './components/Badge.js';
66
import { Fiori4ReactTheme } from './theme.js';
7+
import './components/VersionSwitch.js';
78

89
const customTags = new Set(['package:@ui5/webcomponents-react-charts', 'custom']);
910

0 commit comments

Comments
 (0)