import React from 'react'; import { ButtonColor } from '../base/theme/color'; import { IGlyph } from '../icon'; import { MessageType } from './types'; /** * The Tip component. */ export interface ITipProps { /** Icon displayed before the message. */ icon: IGlyph; /** The type of message */ type: MessageType; /** The text to display */ message: string; /** Optional trailing button */ trailingButton?: { message: string; onClick: (event: React.MouseEvent) => void; }; /** Optional close button */ closeAction?: (event: React.MouseEvent) => void; } export declare const Tip: React.FC; export declare const TYPE_TO_COLOR_MAP: { [messageType in MessageType]: ButtonColor; };