2021-06-26 01:35:40 +00:00
|
|
|
import type { FunctionalComponent } from 'vue';
|
2020-10-23 06:29:39 +00:00
|
|
|
|
|
|
|
export interface FilterDropdownMenuWrapperProps {
|
|
|
|
class?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
const FilterDropdownMenuWrapper: FunctionalComponent<FilterDropdownMenuWrapperProps> = (
|
|
|
|
props,
|
|
|
|
{ slots },
|
|
|
|
) => {
|
|
|
|
return (
|
|
|
|
<div class={props.class} onClick={e => e.stopPropagation()}>
|
|
|
|
{slots.default?.()}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
FilterDropdownMenuWrapper.inheritAttrs = false;
|
|
|
|
|
|
|
|
export default FilterDropdownMenuWrapper;
|