Skip to content

Commit

Permalink
feat: expose the picker el in usePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Mar 9, 2025
1 parent 080eff3 commit 43b4a7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-eggs-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@formwerk/core': patch
---

feat: expose the picker el in usePicker
5 changes: 5 additions & 0 deletions packages/core/src/usePicker/usePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,10 @@ export function usePicker(_props: Reactivify<PickerProps>) {
* The props for the picker trigger element.
*/
pickerTriggerProps,

/**
* The ref for the picker element.
*/
pickerEl,
};
}

0 comments on commit 43b4a7c

Please sign in to comment.