We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c4801 commit 943dec2Copy full SHA for 943dec2
src/utils/getClearIcon.tsx
@@ -2,7 +2,7 @@ import type { ReactNode } from "react";
2
import React from "react";
3
4
export function getClearIcon(
5
- prefixCls,
+ prefixCls: string,
6
allowClear?: boolean | { clearIcon?: ReactNode },
7
clearIcon?: ReactNode,
8
) {
@@ -12,4 +12,4 @@ export function getClearIcon(
12
return (
13
mergedClearIcon || <span className={`${prefixCls}-clear-btn`} />
14
);
15
-}
+}
0 commit comments