ant-design/components/table/FilterDropdownMenuWrapper.tsx

13 lines
302 B
TypeScript
Raw Normal View History

import * as React from 'react';
2016-10-24 16:30:38 +08:00
export interface FilterDropdownMenuWrapperProps {
children?: React.ReactNode;
2016-10-24 16:30:38 +08:00
className?: string;
}
2017-02-24 20:29:24 +08:00
export default (props: FilterDropdownMenuWrapperProps) => (
<div className={props.className} onClick={e => e.stopPropagation()}>
2017-02-24 20:29:24 +08:00
{props.children}
</div>
);