Skip to content

Commit

Permalink
Merge branch 'master' into smouillour/test/report-lint-in-script-core
Browse files Browse the repository at this point in the history
  • Loading branch information
smouillour authored Nov 21, 2023
2 parents 037e130 + e798efb commit 0d905a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-wolves-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/design-system': patch
---

Export "open" prop to children of Popover component
1 change: 1 addition & 0 deletions packages/design-system/src/components/Popover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export function Popover({
{typeof children === 'function'
? children({
...popover.getFloatingProps(),
open: popover.open,
setOpen: popover.setOpen,
hide: () => popover.setOpen(false),
})
Expand Down

0 comments on commit 0d905a9

Please sign in to comment.