import { defineVxeComponent } from '../../ui/src/comp';
import XEUtils from 'xe-utils';
import { createEvent } from '../../ui';
export default {
    name: 'VxeTimelineItem',
    props: {},
    data() {
        const reactData = {};
        return {
            xID: XEUtils.uniqueId(),
            reactData
        };
    },
    methods: {
        //
        // Method
        //
        dispatchEvent(type, params, evnt) {
            const $xeTimelineItem = this;
            $xeTimelineItem.$emit(type, createEvent(evnt, { $timelineItem: $xeTimelineItem }, params));
        },
        //
        // Render
        //
        renderVN(h) {
            return h('div', {
                ref: 'refElem',
                class: 'vxe-timeline-item'
            });
        }
    },
    render(h) {
        return this.renderVN(h);
    }
};
