2017-11-17 14:38:54 +08:00
|
|
|
import * as React from 'react';
|
2016-10-24 16:30:38 +08:00
|
|
|
|
|
|
|
export interface FilterDropdownMenuWrapperProps {
|
2019-06-16 20:51:47 +08:00
|
|
|
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) => (
|
2018-12-29 17:09:24 +08:00
|
|
|
<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;
|