mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
14 lines
422 B
TypeScript
14 lines
422 B
TypeScript
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>;
|
|
}
|
|
}
|