import { createVNode as _createVNode } from "vue";
import { CloseCircleFilled } from '@ant-design/icons-vue';
import './type';
const getAllowClear = allowClear => {
  let mergedAllowClear;
  if (typeof allowClear === 'object' && allowClear.clearIcon) {
    mergedAllowClear = allowClear;
  } else if (allowClear) {
    mergedAllowClear = {
      clearIcon: _createVNode(CloseCircleFilled, null, null)
    };
  }
  return mergedAllowClear;
};
export default getAllowClear;