Skip to content

Commit 943dec2

Browse files
authored
update getClearIcon type (#699)
1 parent 44c4801 commit 943dec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/getClearIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ReactNode } from "react";
22
import React from "react";
33

44
export function getClearIcon(
5-
prefixCls,
5+
prefixCls: string,
66
allowClear?: boolean | { clearIcon?: ReactNode },
77
clearIcon?: ReactNode,
88
) {
@@ -12,4 +12,4 @@ export function getClearIcon(
1212
return (
1313
mergedClearIcon || <span className={`${prefixCls}-clear-btn`} />
1414
);
15-
}
15+
}

0 commit comments

Comments
 (0)