We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43dd685 commit 8d1ab16Copy full SHA for 8d1ab16
1 file changed
@stellar/design-system/src/components/Notification/index.tsx
@@ -71,14 +71,14 @@ export const Notification = ({
71
}
72
73
return (
74
- <Button variant="tertiary" onClick={onClose} size="md">
+ <Button variant="error" onClick={onClose} size="md">
75
Dismiss
76
</Button>
77
);
78
};
79
80
const getActionVariant = () => {
81
- return variant === "error" ? "error" : "primary";
+ return variant === "error" ? "error" : "tertiary";
82
83
84
@@ -102,9 +102,8 @@ export const Notification = ({
102
103
{onClose || onAction ? (
104
<div className="Notification__content__buttons">
105
- {renderDismissElement()}
106
-
107
{renderActionElement()}
+ {renderDismissElement()}
108
</div>
109
) : null}
110
0 commit comments