@refinio/one.ui
    Preparing search index...
    • This component displays an alert box with a message, which can be an error, a warning, an info or a success message.

      Parameters

      • props: {
            displayMessage: boolean;
            infoMessage: string;
            messageType: "error" | "success" | "info" | "warning";
            setDisplayMessage: (arg: boolean) => void;
            textAddition?: string;
        }

        Properties of this view:

        • displayMessage: boolean

          Flag that specifies whether or not to display the information message box

        • infoMessage: string

          The content of the info message

        • messageType: "error" | "success" | "info" | "warning"

          The message types MESSAGE_TYPE

        • setDisplayMessage: (arg: boolean) => void

          Setter for displayMessage flag

        • OptionaltextAddition?: string

          Adds the string after the message

      Returns ReactElement