@opentiny/vue-renderless
Version:
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
15 lines (14 loc) • 307 B
JavaScript
import "../chunk-G2ADBYYC.js";
import { computeData } from "./index";
const api = ["state"];
const renderless = (props, { computed, reactive }) => {
const state = reactive({
data: computed(() => computeData({ props }))
});
const api2 = { state };
return api2;
};
export {
api,
renderless
};