How to use the terra-notification-dialog.NotificationDialogVariants.SUCCESS function in terra-notification-dialog

To help you get started, we’ve selected a few terra-notification-dialog examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-framework / packages / terra-notification-dialog / src / terra-dev-site / doc / example / CompleteNotificationDialogWithLongMessage.jsx View on Github external
const CompleteNotificationDialogWithLongMessage = () => {
  const [isOpen, setIsOpen] = useState(false);

  const handleOpenModal = () => {
    setIsOpen(true);
  };

  const handleCloseModal = () => {
    setIsOpen(false);
  };

  return (
    <>
      
      <button>
    </button>

terra-notification-dialog

`terra-notification-dialog` is a notification dialog component built over the `terra-abstract-modal`. It has the highest z-index of 9001. It is a common component to be used for confirmation/acceptance criteria style dialogs.

Apache-2.0
Latest version published 7 months ago

Package Health Score

54 / 100
Full package analysis