UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

19 lines (17 loc) 531 B
import { createVNode as _createVNode } from "vue"; /** @format */ import { BasicArrow } from '../../../basic-arrow'; export default (function () { return function (props) { if (!props.expandable || !props.record.children.length) { return _createVNode("span", null, null); } return _createVNode(BasicArrow, { "iconStyle": "margin-right: 2px; margin-top: -2px;", "onClick": function onClick(e) { props.onExpand(props.record, e); }, "expand": props.expanded }, null); }; });