element-plus/packages/input-number/index.ts

12 lines
325 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
import InputNumber from './src/index.vue'
2020-10-29 17:28:26 +08:00
InputNumber.install = (app: App): void => {
app.component(InputNumber.name, InputNumber)
}
2020-10-29 17:28:26 +08:00
const _InputNumber: SFCWithInstall<typeof InputNumber> = InputNumber
export default _InputNumber