From 62799107c3b1598c7ac1b816f0e3827a04bb4d95 Mon Sep 17 00:00:00 2001 From: aojunhao123 <1844749591@qq.com> Date: Wed, 30 Oct 2024 17:48:12 +0800 Subject: [PATCH] chore: export internal type and func for reuse --- src/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 56cf330..04d8e68 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,8 +1,10 @@ import BaseInput from './BaseInput'; import Input from './Input'; - -export { BaseInput }; +import { triggerFocus, type InputFocusOptions } from './utils/commonUtils'; export type { InputProps, InputRef } from './interface'; +export type { InputFocusOptions }; +export { BaseInput }; +export { triggerFocus }; export default Input;