MediaSFU ReactJS
    Preparing search index...

    Interface AlertComponentOptions

    interface AlertComponentOptions {
        visible: boolean;
        message: string;
        type?: "danger" | "success" | "warning" | "info";
        duration?: number;
        onHide?: () => void;
        textColor?: string;
        position?:
            | "center"
            | "bottom"
            | "top"
            | "top-right"
            | "top-left"
            | "bottom-right"
            | "bottom-left";
        overlayProps?: HTMLAttributes<HTMLDivElement>;
        containerProps?: HTMLAttributes<HTMLDivElement>;
        messageProps?: HTMLAttributes<HTMLParagraphElement>;
        renderMessage?: (options: { defaultMessage: ReactNode }) => ReactNode;
        renderContent?: (options: { defaultContent: ReactNode }) => ReactNode;
    }
    Index

    Properties

    visible: boolean
    message: string
    type?: "danger" | "success" | "warning" | "info"
    duration?: number
    onHide?: () => void
    textColor?: string
    position?:
        | "center"
        | "bottom"
        | "top"
        | "top-right"
        | "top-left"
        | "bottom-right"
        | "bottom-left"
    overlayProps?: HTMLAttributes<HTMLDivElement>
    containerProps?: HTMLAttributes<HTMLDivElement>
    messageProps?: HTMLAttributes<HTMLParagraphElement>
    renderMessage?: (options: { defaultMessage: ReactNode }) => ReactNode
    renderContent?: (options: { defaultContent: ReactNode }) => ReactNode