mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
CLEANUP addon-contexts: match up file structure
This commit is contained in:
parent
3989801b18
commit
90ed045c71
@ -1,6 +1,6 @@
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import { useChannel } from './libs/useChannel';
|
||||
import { ToolBar } from './ToolBar';
|
||||
import { ToolBar } from './components/ToolBar';
|
||||
import { deserialize, serialize } from '../shared/serializers';
|
||||
import { PARAM, REBOOT_MANAGER, UPDATE_MANAGER, UPDATE_PREVIEW } from '../shared/constants';
|
||||
import { FCNoChildren, ManagerAPI, SelectionState } from '../shared/types';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React, { ComponentProps } from 'react';
|
||||
import { Separator } from '@storybook/components';
|
||||
import { ToolbarControl } from './ToolbarControl';
|
||||
import { ContextNode, FCNoChildren, SelectionState } from '../shared/types';
|
||||
import { ContextNode, FCNoChildren, SelectionState } from '../../shared/types';
|
||||
|
||||
type ToolBar = FCNoChildren<{
|
||||
nodes: ContextNode[];
|
@ -1,7 +1,7 @@
|
||||
import React, { ComponentProps } from 'react';
|
||||
import { Icons, IconButton, WithTooltip } from '@storybook/components';
|
||||
import { ToolBarMenuOptions } from './ToolBarMenuOptions';
|
||||
import { ContextNode, FCNoChildren } from '../shared/types';
|
||||
import { ContextNode, FCNoChildren } from '../../shared/types';
|
||||
|
||||
type ToolBarMenu = FCNoChildren<{
|
||||
icon: ContextNode['icon'];
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { TooltipLinkList } from '@storybook/components';
|
||||
import { OPT_OUT } from '../shared/constants';
|
||||
import { FCNoChildren } from '../shared/types';
|
||||
import { OPT_OUT } from '../../shared/constants';
|
||||
import { FCNoChildren } from '../../shared/types';
|
||||
|
||||
type ToolBarMenuOptions = FCNoChildren<{
|
||||
activeName: string;
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { ToolBarMenu } from './ToolBarMenu';
|
||||
import { OPT_OUT } from '../shared/constants';
|
||||
import { ContextNode, FCNoChildren, Omit } from '../shared/types';
|
||||
import { OPT_OUT } from '../../shared/constants';
|
||||
import { ContextNode, FCNoChildren, Omit } from '../../shared/types';
|
||||
|
||||
type ToolbarControl = FCNoChildren<
|
||||
Omit<
|
Loading…
x
Reference in New Issue
Block a user