From f91498defe2e6dbf6789785cb4db9a0e1eea2baf Mon Sep 17 00:00:00 2001 From: jzh <1587315093@qq.com> Date: Mon, 7 Aug 2023 16:16:38 +0800 Subject: [PATCH] chore: pick type to InputHTMLAttributes --- src/components/input/input.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/input/input.tsx b/src/components/input/input.tsx index 0ab19f3d06..94d8dfdc78 100644 --- a/src/components/input/input.tsx +++ b/src/components/input/input.tsx @@ -42,13 +42,13 @@ export type InputProps = Pick< | 'onClick' | 'step' | 'id' + | 'placeholder' + | 'readOnly' + | 'disabled' > & { value?: string defaultValue?: string onChange?: (val: string) => void - placeholder?: string - disabled?: boolean - readOnly?: boolean clearable?: boolean onlyShowClearWhenFocus?: boolean onClear?: () => void