ant-design/components/table/FilterDropdownMenuWrapper.tsx

14 lines
422 B
TypeScript
Raw Normal View History

2016-10-24 16:30:38 +08:00
import React from 'react';
export interface FilterDropdownMenuWrapperProps {
onClick?: React.MouseEventHandler<any>;
children?: any;
className?: string;
}
export default class FilterDropdownMenuWrapper extends React.Component<FilterDropdownMenuWrapperProps, any> {
render() {
const { onClick, children, className } = this.props;
return <div className={className} onClick={onClick}>{children}</div>;
}
}