Skip to content

Commit

Permalink
feat: export form hooks (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
totraev authored Dec 17, 2024
1 parent bc56d3b commit 13a1999
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/unlucky-taxis-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@babylonlabs-io/bbn-core-ui": patch
---

export form hooks
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ export * from "./widgets/form/CheckboxField";
export * from "./widgets/form/RadioField";
export * from "./widgets/form/SelectField";
export * from "./widgets/form/hooks";
export * from "./widgets/form/hooks";

export { ScrollLocker } from "./context/Dialog.context";
export { useFormContext, useFormState, useWatch } from "react-hook-form";
1 change: 0 additions & 1 deletion src/widgets/form/Form/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { useFormContext, useFormState, useWatch } from "react-hook-form";
export * from "./Form";

0 comments on commit 13a1999

Please sign in to comment.