Skip to content

Commit ca053df

Browse files
add secondary button in notification
1 parent ecfb6b8 commit ca053df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: arduino-ide-extension/src/browser/theia/messages/notification-component.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ export class NotificationComponent extends TheiaNotificationComponent {
6161
actions.map((action, index) => (
6262
<button
6363
key={messageId + `-action-${index}`}
64-
className="theia-button"
64+
className={`theia-button ${
65+
index !== actions.length - 1 ? 'secondary' : ''
66+
}`}
6567
data-message-id={messageId}
6668
data-action={action}
6769
onClick={this.onAction}

0 commit comments

Comments
 (0)