Skip to content

Commit

Permalink
Merge pull request #24 from aviemet/types
Browse files Browse the repository at this point in the history
feat(useinertiainput): exports UseInertiaInputProps
  • Loading branch information
aviemet authored May 23, 2024
2 parents 41d5bc5 + 6e63ef2 commit 5f2f634
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 5f2f634

Please sign in to comment.