layui/src/module/colorPicker/index.ts

10 lines
269 B
TypeScript
Raw Normal View History

import type { App } from 'vue'
import Component from './index.vue'
2021-10-22 09:50:59 +00:00
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
app.component(Component.name || 'LayColorPicker', Component)
}
2021-10-22 09:50:59 +00:00
export default Component as IDefineComponent