Skip to content

Commit 5a8fb15

Browse files
committed
fix: allowClear type definition
1 parent a497a8d commit 5a8fb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InputNumber.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface InputNumberProps<T extends ValueType = ValueType>
9696
step?: ValueType;
9797
tabIndex?: number;
9898
controls?: boolean;
99-
allowClear?: boolean | { clearIcon?: React.ReactNode; clearValue: T };
99+
allowClear?: boolean | { clearIcon?: React.ReactNode; clearValue?: T };
100100
prefix?: React.ReactNode;
101101
suffix?: React.ReactNode;
102102
classNames?: Partial<Record<SemanticName, string>>;

0 commit comments

Comments
 (0)