@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.
18 lines (17 loc) • 325 B
JavaScript
import "../chunk-G2ADBYYC.js";
import { emitClick } from "./index";
const api = ["state", "create"];
const renderless = (props, { reactive }, { emit }) => {
const state = reactive({
urlType: props.type
});
const api2 = {
state,
create: emitClick(emit)
};
return api2;
};
export {
api,
renderless
};