Skip to main content

    NotificationSettings

    NotificationSettings component

    Import

    import { NotificationSettings } from '@dynatrace/strato-components-preview/notifications';

    Use cases

    For reference on what notification types and resources can be configured, please refer to the notification sdk.

    CodeSandbox

    Customize the message content

    Use the children slot of the NotificationSettings component to customize the content above the button. The

    CodeSandbox

    Using the NotificationSettings in a Menu

    To use the NotificationSettings within a Menu item, we provide a custom hook that will automatically connect a configured modal with a menu item.

    CodeSandbox
    Still have questions?
    Find answers in the Dynatrace Community