mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
Deepscan
This commit is contained in:
parent
de602a8908
commit
db7f753ef9
@ -3,16 +3,7 @@ import React, { Fragment, useMemo, FunctionComponent } from 'react';
|
||||
import { styled } from '@storybook/theming';
|
||||
|
||||
import { FlexBar, IconButton, Icons, Separator, TabButton, TabBar } from '@storybook/components';
|
||||
import {
|
||||
Consumer,
|
||||
Combo,
|
||||
API,
|
||||
State,
|
||||
merge,
|
||||
DocsEntry,
|
||||
StoryEntry,
|
||||
LeafEntry,
|
||||
} from '@storybook/api';
|
||||
import { Consumer, Combo, API, State, merge, LeafEntry } from '@storybook/api';
|
||||
import { shortcutToHumanString } from '@storybook/api/shortcut';
|
||||
import { addons, Addon, types } from '@storybook/addons';
|
||||
|
||||
@ -214,7 +205,7 @@ export function filterTools(
|
||||
) {
|
||||
const toolsLeft = [
|
||||
menuTool,
|
||||
tabs.filter((p) => !p.hidden).length >= 1 && createTabsTool(tabs),
|
||||
tabs.filter((p) => !p.hidden).length > 1 && createTabsTool(tabs),
|
||||
...tools,
|
||||
];
|
||||
const toolsRight = [...toolsExtra];
|
||||
|
Loading…
x
Reference in New Issue
Block a user