From d552c8a7672685fb0d31fd64adec4633944aa898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Fri, 22 May 2026 14:11:04 +0800 Subject: [PATCH 1/2] fix: expose input internal types --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 55bdf24..5c645e0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,15 +1,18 @@ import BaseInput from './BaseInput'; import Input from './Input'; import TextArea from './TextArea'; +import type { HolderRef } from './BaseInput'; export type { AutoSizeType, + BaseInputProps, InputProps, InputRef, ResizableTextAreaRef, TextAreaProps, TextAreaRef, } from './interface'; +export type { HolderRef }; export { default as ResizableTextArea } from './ResizableTextArea'; From 5cd6e33ebbb78e7b0203e22229a66adf71dc4605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Fri, 22 May 2026 14:17:18 +0800 Subject: [PATCH 2/2] chore: simplify holder ref export --- src/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 5c645e0..eaa2458 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,6 @@ import BaseInput from './BaseInput'; import Input from './Input'; import TextArea from './TextArea'; -import type { HolderRef } from './BaseInput'; export type { AutoSizeType, @@ -12,7 +11,7 @@ export type { TextAreaProps, TextAreaRef, } from './interface'; -export type { HolderRef }; +export type { HolderRef } from './BaseInput'; export { default as ResizableTextArea } from './ResizableTextArea';