UNPKG

quantumai-design-system

Version:

퀀텀에이아이의 디자인 시스템

15 lines (14 loc) 666 B
import React from 'react'; import { MouseEventType } from '../../../types/hookType'; import { MarginType, WidthType } from '../../../types/styleType'; import { ToastType } from './options'; export interface IAlertProps extends React.HTMLAttributes<HTMLDivElement>, WidthType, MarginType { type: ToastType; label?: string; show?: boolean; isFill?: boolean; duration?: number; onClickClose?: (e?: MouseEventType<HTMLButtonElement>) => void; } declare const Alert: ({ type, label, show, isFill, duration, onClickClose, width, style, ...props }: IAlertProps) => import("@emotion/react/jsx-runtime").JSX.Element | undefined; export default Alert;