layui/src/component/input/index.ts

10 lines
273 B
TypeScript
Raw Normal View History

2021-12-24 16:09:30 +00:00
import type { App } from "vue";
import Component from "./index.vue";
2022-01-27 08:18:16 +00:00
import type { IDefineComponent } from "../../types/index";
2021-09-27 08:42:13 +00:00
Component.install = (app: App) => {
2021-12-24 16:09:30 +00:00
app.component(Component.name || "LayInput", Component);
};
2021-09-27 08:42:13 +00:00
2021-12-24 16:09:30 +00:00
export default Component as IDefineComponent;