interface NotificationArgsProps {
    btn?: ReactNode;
    className?: string;
    closeIcon?: ReactNode;
    description?: ReactNode;
    duration?: null | number;
    icon?: ReactNode;
    key?: Key;
    message: ReactNode;
    onClick?: (() => void);
    onClose?: (() => void);
    placement?: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
    props?: DivProps;
    role?: "status" | "alert";
    style?: CSSProperties;
    type?: IconType;
}

Properties

btn?: ReactNode
className?: string
closeIcon?: ReactNode
description?: ReactNode
duration?: null | number
icon?: ReactNode
key?: Key
message: ReactNode
onClick?: (() => void)

Type declaration

    • (): void
    • Returns void

onClose?: (() => void)

Type declaration

    • (): void
    • Returns void

placement?: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight"
props?: DivProps
role?: "status" | "alert"
style?: CSSProperties
type?: IconType

Generated using TypeDoc