UNPKG

zmp-vue

Version:

Build full featured iOS & Android apps using ZMP & Vue

31 lines (28 loc) 979 B
import { toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, resolveComponent as _resolveComponent, mergeProps as _mergeProps, withCtx as _withCtx } from "vue"; var _hoisted_1 = { key: 0, class: "zmp-radio-label" }; function render(_ctx, _cache) { var _component_Radio = _resolveComponent("Radio"); return _openBlock(), _createBlock(_component_Radio, _mergeProps(_ctx.$attrs, { class: "no-ripple" }), { default: _withCtx(function () { return [_ctx.label ? (_openBlock(), _createBlock("span", _hoisted_1, _toDisplayString(_ctx.label), 1)) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")]; }), _: 3 }, 16); } import Radio from '../components/radio'; export default { name: 'zmp-radio', render: render, components: { Radio: Radio }, props: { label: String }, setup: function setup(props) {} };