Skip to content

Commit

Permalink
Form fix type (#110)
Browse files Browse the repository at this point in the history
* chore: fix form type

* chore: fix form type
  • Loading branch information
ceceppa authored Aug 1, 2023
1 parent 8a30711 commit 498ec14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-dryers-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'react-native-ama': patch
---

Fix Form type
1 change: 1 addition & 0 deletions lib/providers/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { useChecks } from '../internal/useChecks';

export type FormProps = React.PropsWithChildren<{
onSubmit: () => boolean | Promise<boolean>;
ref?: React.RefObject<FormActions>;
}>;

export type FormActions = {
Expand Down

1 comment on commit 498ec14

@vercel
Copy link

@vercel vercel bot commented on 498ec14 Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.