mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
21 lines
446 B
Vue
21 lines
446 B
Vue
import { FunctionalComponent } from 'vue';
|
|
|
|
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;
|