You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
623 B
24 lines
623 B
import _extends from 'babel-runtime/helpers/extends';
|
|
import VcSelect, { SelectProps } from '../select';
|
|
import { getOptionProps, filterEmpty, getListeners } from '../_util/props-util';
|
|
|
|
export default {
|
|
props: _extends({}, SelectProps),
|
|
Option: VcSelect.Option,
|
|
render: function render() {
|
|
var h = arguments[0];
|
|
|
|
var selectOptionsProps = getOptionProps(this);
|
|
var selelctProps = {
|
|
props: _extends({}, selectOptionsProps, {
|
|
size: 'small'
|
|
}),
|
|
on: getListeners(this)
|
|
};
|
|
return h(
|
|
VcSelect,
|
|
selelctProps,
|
|
[filterEmpty(this.$slots['default'])]
|
|
);
|
|
}
|
|
};
|