import { defineComponent, createVNode, Fragment } from 'vue';

var FilterLabel = defineComponent({
  props: {
    node: {
      type: Object,
      required: true
    },
    renderLabel: {
      type: Function,
      required: false
    }
  },
  setup(props) {
    return () => {
      return props.renderLabel ? createVNode(Fragment, null, [props.renderLabel({
        node: props.node,
        data: props.node.data
      })]) : createVNode("span", null, [props.node.text]);
    };
  }
});

export { FilterLabel as default };
//# sourceMappingURL=filter-content.mjs.map
