Skip to content

Commit

Permalink
Export EmptyAsValue and RedwoodRegisterOptions from packages/forms (r…
Browse files Browse the repository at this point in the history
…edwoodjs#11783)

Useful to people like me that have custom input fields.
Would be nice to have these types exposed so I can use them directly
instead of re declaring them myself.
  • Loading branch information
c-ciobanu authored Dec 19, 2024
1 parent d7c581e commit e1b5e92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/forms/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
export * from 'react-hook-form'

export { CheckboxField } from './CheckboxField'
export type { EmptyAsValue, RedwoodRegisterOptions } from './coercion'
export { FieldError } from './FieldError'
export { Form, FormProps } from './Form'
export { default as FormError } from './FormError'
Expand Down

0 comments on commit e1b5e92

Please sign in to comment.