diff --git a/src/DynamicInputs.tsx b/src/DynamicInputs.tsx index 59ee508..0e71a29 100644 --- a/src/DynamicInputs.tsx +++ b/src/DynamicInputs.tsx @@ -4,7 +4,7 @@ import { get, set } from 'lodash' import NestedFields, { useNestedAttribute } from './NestedFields' import { NestedObject } from './useInertiaForm' -interface DynamicInputsProps { +export interface DynamicInputsProps { children: React.ReactNode model?: string emptyData: Record diff --git a/src/index.ts b/src/index.ts index 347f2a8..dbd6bdf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,4 +9,4 @@ export { } from './Form' export { default as NestedFields, type NestedFieldsProps } from './NestedFields' export { Input, Submit } from './Inputs' -export { default as DynamicInputs } from './DynamicInputs' +export { default as DynamicInputs, type DynamicInputsProps } from './DynamicInputs'