Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1e979f
commit 1257c90
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
export { default as FormValidator } from "./domain/form/validation/FormValidator" | ||
export * as FormValidations from "./domain/form/validation/FormValidations" | ||
export type { default as InvalidFieldError } from "./domain/form/validation/InvalidFieldError" | ||
export type { default as ValidationRules} from "./domain/form/validation/ValidationRules" | ||
export { default as useFormData } from "./hooks/useFormData" | ||
import useFormData from "./hooks/useFormData"; | ||
import FormValidator from "./domain/form/validation/FormValidator"; | ||
import type ValidationRules from "./domain/form/validation/ValidationRules"; | ||
import type InvalidFieldError from "./domain/form/validation/InvalidFieldError"; | ||
import * as FormValidations from "./domain/form/validation/FormValidations"; | ||
|
||
export { | ||
FormValidator, | ||
ValidationRules, | ||
InvalidFieldError, | ||
FormValidations, | ||
useFormData | ||
} |