Skip to content

Commit 8d1ab16

Browse files
committed
update the button styling within Notificaiton
1 parent 43dd685 commit 8d1ab16

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • @stellar/design-system/src/components/Notification

@stellar/design-system/src/components/Notification/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ export const Notification = ({
7171
}
7272

7373
return (
74-
<Button variant="tertiary" onClick={onClose} size="md">
74+
<Button variant="error" onClick={onClose} size="md">
7575
Dismiss
7676
</Button>
7777
);
7878
};
7979

8080
const getActionVariant = () => {
81-
return variant === "error" ? "error" : "primary";
81+
return variant === "error" ? "error" : "tertiary";
8282
};
8383

8484
return (
@@ -102,9 +102,8 @@ export const Notification = ({
102102

103103
{onClose || onAction ? (
104104
<div className="Notification__content__buttons">
105-
{renderDismissElement()}
106-
107105
{renderActionElement()}
106+
{renderDismissElement()}
108107
</div>
109108
) : null}
110109
</div>

0 commit comments

Comments
 (0)