Skip to content

Commit

Permalink
feat(useinertiainput): exports UseInertiaInputProps
Browse files Browse the repository at this point in the history
  • Loading branch information
aviemet committed May 23, 2024
1 parent 41d5bc5 commit 6e63ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default as useInertiaForm, type UseInertiaFormProps, type NestedObject } from './useInertiaForm'
export { default as useInertiaInput } from './useInertiaInput'
export { default as useInertiaInput, type UseInertiaInputProps } from './useInertiaInput'
export { default as useDynamicInputs } from './useDynamicInputs'
export {
Form,
Expand Down
2 changes: 1 addition & 1 deletion src/useInertiaInput/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import inputStrategy, { type InputStrategy } from './inputStrategy'
import { type NestedObject } from '../useInertiaForm'
import { useEffect } from 'react'

interface UseInertiaInputProps {
export interface UseInertiaInputProps {
name: string
model?: string
errorKey?: string
Expand Down

0 comments on commit 6e63ef2

Please sign in to comment.