2020-10-03 20:48:29 +08:00
|
|
|
import ColorPicker from './src/index.vue'
|
2020-10-29 17:28:26 +08:00
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
import type { App } from 'vue'
|
2022-02-11 11:03:15 +08:00
|
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2020-11-20 20:24:16 +08:00
|
|
|
ColorPicker.install = (app: App): void => {
|
2020-10-03 20:48:29 +08:00
|
|
|
app.component(ColorPicker.name, ColorPicker)
|
|
|
|
}
|
|
|
|
|
2021-08-24 13:36:48 +08:00
|
|
|
const _ColorPicker = ColorPicker as SFCWithInstall<typeof ColorPicker>
|
2020-12-23 14:07:15 +08:00
|
|
|
|
|
|
|
export default _ColorPicker
|
2021-08-24 13:36:48 +08:00
|
|
|
export const ElColorPicker = _ColorPicker
|