From 07c669d1677626b549f2fab1c99086cce8b6767a Mon Sep 17 00:00:00 2001 From: Avram Walden Date: Sat, 25 Mar 2023 15:02:23 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Exports=20DynamicInputsPr?= =?UTF-8?q?ops?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DynamicInputs.tsx | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'