import { DatePickerBottom, DatePickerTop, DatePickerRight, DatePickerDropdown } from './index.js';
export default {
  functional: true,
  name: 'ks-date-picker',
  render: function render(h, ctx) {
    if (ctx.props.horizontal) {
      return h(DatePickerRight, ctx.data);
    } else {
      return h(ctx.props.position === 'dropdown' ? DatePickerDropdown : ctx.props.position === 'top' ? DatePickerTop : DatePickerBottom, ctx.data);
    }
  }
};