ant-design-vue/components/input/index.js

23 lines
567 B
JavaScript
Raw Normal View History

import Vue from 'vue'
2017-12-06 10:54:20 +00:00
import Input from './Input'
import Group from './Group'
import Search from './Search'
2017-12-07 04:31:12 +00:00
import TextArea from './TextArea'
import antInputDirective from '../_util/antInputDirective'
Vue.use(antInputDirective)
2017-12-06 10:54:20 +00:00
Input.Group = Group
Input.Search = Search
2017-12-07 04:31:12 +00:00
Input.TextArea = TextArea
/* istanbul ignore next */
Input.install = function (Vue) {
Vue.component(Input.name, Input)
Vue.component(Input.Group.name, Input.Group)
Vue.component(Input.Search.name, Input.Search)
Vue.component(Input.TextArea.name, Input.TextArea)
}
2017-12-06 10:54:20 +00:00
export default Input