diff --git a/@stellar/design-system/src/components/Notification/index.tsx b/@stellar/design-system/src/components/Notification/index.tsx
index e76841f2..b3b1893c 100644
--- a/@stellar/design-system/src/components/Notification/index.tsx
+++ b/@stellar/design-system/src/components/Notification/index.tsx
@@ -2,14 +2,28 @@ import React from "react";
import { Icon } from "../../icons";
import "./styles.scss";
-interface NotificationProps extends React.HtmlHTMLAttributes
{
+/** */
+export interface NotificationProps {
+ /** Variant of the notification */
variant: "primary" | "secondary" | "success" | "error" | "warning";
+ /** Notification title */
title: string;
+ /** Notification icon @defaultValue `` */
icon?: React.ReactNode;
+ /** Notification message */
children?: string | React.ReactNode;
}
-export const Notification: React.FC = ({
+interface Props
+ extends NotificationProps,
+ React.HtmlHTMLAttributes {
+ title: string;
+}
+
+/**
+ * Use notification to draw user attention. There are five variants `primary`, `secondary`, `success`, `error`, and `warning`.
+ */
+export const Notification: React.FC = ({
variant,
title,
icon,
diff --git a/@stellar/design-system/src/components/Notification/styles.scss b/@stellar/design-system/src/components/Notification/styles.scss
index b2745c24..93ab7a1e 100644
--- a/@stellar/design-system/src/components/Notification/styles.scss
+++ b/@stellar/design-system/src/components/Notification/styles.scss
@@ -10,6 +10,7 @@
font-family: var(--font-family-base);
background-color: var(--Notification-color-background);
border: 1px solid var(--Notification-color-border);
+ border-radius: pxToRem(4px);
display: flex;
flex-direction: column;
gap: pxToRem(8px);