Import

    Properties

    Methods

    MethodDescription
    onAlternative()Alternative action callback
    Confirm action callback
    onDismiss()Dismiss action callback

    Text for alternative button

    Signature

      body property

      Modal content

      Signature

      1. body: React.ReactNode;

      confirmationText property

      Text user needs to fill in before confirming

      Signature

      confirmText property

      Text for confirm button

      1. confirmText: string;

      Modal description

      Signature

      1. description?: React.ReactNode;

      dismissText property

      Text for dismiss button

      Signature

      icon property

      Icon for the modal header

      Signature

      isOpen property

      Toggle modal’s open/closed state

      Signature

      1. isOpen: boolean;

      Title for the modal header

      Signature

      1. title: string;

      onAlternative method

      Signature

        Returns:

        void

        onConfirm method

        Confirm action callback

        Signature

        Returns:

        void

        onDismiss method

        Dismiss action callback

        Signature

        1. onDismiss(): void;

        Returns: