import CustomTable from '@/table/index.vue'
import CustomFormItem from '@/table/components/edit.vue'
import CustomInputTable from '@/components/inputTable/index.vue'
import { App } from 'vue'
const components: any = {
  CustomTable,
  CustomFormItem,
  CustomInputTable
}

const GlobalComponents = (app: App) => {
  Object.keys(components).forEach((key) => {
    app.component(`${key}`, components[key])
  })
}

export default GlobalComponents
