@storybook/addon-contexts
Version:
Storybook Addon Contexts
11 lines (10 loc) • 417 B
TypeScript
import { ContextNode, FCNoChildren } from '../../shared/types.d';
declare type ToolBarControl = FCNoChildren<Pick<ContextNode & {
selected: string;
setSelected: (nodeId: string, name: string) => void;
}, Exclude<keyof (ContextNode & {
selected: string;
setSelected: (nodeId: string, name: string) => void;
}), 'components'>>>;
export declare const ToolBarControl: ToolBarControl;
export {};