ant-design/components/table/FilterDropdownMenuWrapper.tsx

15 lines
364 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
2019-08-05 18:38:10 +08:00
const FilterDropdownMenuWrapper = (props: FilterDropdownMenuWrapperProps) => (
<div className={props.className} onClick={e => e.stopPropagation()}>
2017-02-24 20:29:24 +08:00
{props.children}
</div>
);
2019-08-05 18:38:10 +08:00
export default FilterDropdownMenuWrapper;