UNPKG

549 BTypeScriptView Raw
1import { FunctionComponent } from 'react';
2import { Color } from '@storybook/theming';
3export interface ArrowProps {
4 color: keyof Color;
5 placement: string;
6}
7export interface WrapperProps {
8 color: keyof Color;
9 placement: string;
10 hidden?: boolean;
11 hasChrome: boolean;
12}
13export interface TooltipProps {
14 arrowRef?: any;
15 tooltipRef?: any;
16 hasChrome?: boolean;
17 arrowProps?: any;
18 placement?: string;
19 color?: keyof Color;
20}
21export declare const Tooltip: FunctionComponent<TooltipProps>;