"use strict";

exports.__esModule = true;
exports.default = void 0;

var _index = require("./index.js");

var _default = {
  functional: true,
  name: 'ks-date-picker',
  render: function render(h, ctx) {
    if (ctx.props.horizontal) {
      return h(_index.DatePickerRight, ctx.data);
    } else {
      return h(ctx.props.position === 'dropdown' ? _index.DatePickerDropdown : ctx.props.position === 'top' ? _index.DatePickerTop : _index.DatePickerBottom, ctx.data);
    }
  }
};
exports.default = _default;