UNPKG

@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.

17 lines (16 loc) 326 B
import "../chunk-G2ADBYYC.js"; import { click } from "./index"; const api = ["state", "click"]; const renderless = (props, { reactive }, { emit }) => { const api2 = {}; const state = reactive({}); Object.assign(api2, { state, click: click({ props, emit }) }); return api2; }; export { api, renderless };