element-plus
Version:
> TODO: description
14 lines (9 loc) • 315 B
text/typescript
import Input from './src/index.vue'
import type { App } from 'vue'
import type { SFCWithInstall } from '@element-plus/utils/types'
Input.install = (app: App): void => {
app.component(Input.name, Input)
}
const _Input = Input as SFCWithInstall<typeof Input>
export default _Input
export const ElInput = _Input