Skip to content

Commit

Permalink
Add the tooltip for the standalone close button in the toast to avoid…
Browse files Browse the repository at this point in the history
… the warning
  • Loading branch information
ChengYanJin committed May 30, 2024
1 parent 18b6851 commit b5dc355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/toast/Toast.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ function Toast({
icon={<Icon name="Close" size="lg" color="textSecondary" />}
onClick={params?.onClose}
aria-label="Close"
tooltip={{ overlay: 'Close', placement: 'top' }}
/>
</Box>
</motion.div>
Expand Down

0 comments on commit b5dc355

Please sign in to comment.