UNPKG

468 BTypeScriptView Raw
1import { FunctionComponent, SyntheticEvent } from 'react';
2import { LinkWrapperType, ListItemProps } from './ListItem';
3export interface Link extends Omit<ListItemProps, 'onClick'> {
4 id: string;
5 isGatsby?: boolean;
6 onClick?: (event: SyntheticEvent, item: ListItemProps) => void;
7}
8export interface TooltipLinkListProps {
9 links: Link[];
10 LinkWrapper?: LinkWrapperType;
11}
12export declare const TooltipLinkList: FunctionComponent<TooltipLinkListProps>;