CLEANUP addon-contexts: match up file structure

This commit is contained in:
Leo Y. Li 2019-04-23 21:54:36 -04:00
parent 3989801b18
commit 90ed045c71
5 changed files with 7 additions and 7 deletions

View File

@ -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';

View File

@ -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[];

View File

@ -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'];

View File

@ -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;

View File

@ -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<