import { CSSProperties, KeyboardEvent } from "react"; import { Content, NoticeProps } from "../../wui-notification/src/iNotification"; export type PositionType = "top" | "bottom" | "topRight" | "bottomRight" | "topLeft" | "bottomLeft"; export interface MessageProps extends NoticeProps { style?: CSSProperties; innerStyle?: CSSProperties; wrapperStyle?: CSSProperties; onEscapeKeyUp?: (e?: KeyboardEvent) => void; showIcon?: boolean; icon?: string; position?: PositionType; keyboard?: boolean; message?: Content; maxCount?: number; } export interface ThenableArgument { (_: any): any; }