🐛 Fix Table filters trigger sort

close #13891
close #13933
close #13790
This commit is contained in:
afc163 2018-12-29 17:09:24 +08:00 committed by 偏右
parent 0f83299d91
commit df8b784158

View File

@ -1,13 +1,12 @@
import * as React from 'react';
export interface FilterDropdownMenuWrapperProps {
onClick?: React.MouseEventHandler<any>;
children?: any;
className?: string;
}
export default (props: FilterDropdownMenuWrapperProps) => (
<div className={props.className} onClick={props.onClick}>
<div className={props.className} onClick={e => e.stopPropagation()}>
{props.children}
</div>
);