mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Fix filterIcon className of Table, close #10937
This commit is contained in:
parent
5903fdb19f
commit
b1d60f5ce1
@ -174,9 +174,7 @@ export default class FilterMenu<T> extends React.Component<FilterMenuProps<T>, F
|
||||
|
||||
return filterIcon ? React.cloneElement(filterIcon as any, {
|
||||
title: locale.filterTitle,
|
||||
className: classNames(filterIcon.className, {
|
||||
[`${prefixCls}-icon`]: true,
|
||||
}),
|
||||
className: classNames(`${prefixCls}-icon`, filterIcon.props.className),
|
||||
}) : <Icon title={locale.filterTitle} type="filter" className={dropdownSelectedClass} />;
|
||||
}
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user