Skip to content

Commit

Permalink
Modal: fix close button in Cambio (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvuerings committed Mar 26, 2024
1 parent 9ecadcb commit 5826f55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-rice-repair.md
@@ -0,0 +1,5 @@
---
"@cambly/syntax-core": minor
---

IconButton: make onClick required & fix modal close issue
1 change: 1 addition & 0 deletions packages/syntax-core/src/Modal/Modal.tsx
Expand Up @@ -215,6 +215,7 @@ export default function Modal({
accessibilityLabel={accessibilityCloseLabel}
color={image ? "primary" : "tertiary"}
on={image ? "darkBackground" : "lightBackground"}
onClick={onDismiss}
size="sm"
icon={XIconCambio}
/>
Expand Down

0 comments on commit 5826f55

Please sign in to comment.