
export const MessageType = {
  info: 'info',
  success: 'success',
  warning: 'warning',
  error: 'error',
};

export interface MessageMarquee {
  speed?: number;
  loop?: number;
  delay?: number;
}
export interface MessageProps {
  visible?: boolean;
  content: string;
  align?: string;
  theme?: keyof typeof MessageType;
  icon?: boolean | string;
  link?: string | object;
  closeBtn?: boolean;
  action?: string;
  marquee?: MessageMarquee;
  offset?: object;
  duration?: number;
  zIndex?: number;
  id?: string;
  gap?: string | number;
  single?: boolean;
}
