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.

19 lines (18 loc) 351 B
import "../chunk-G2ADBYYC.js"; import { filter } from "./index"; const api = ["state", "filter"]; const renderless = (props, { reactive }, { emit, vm }) => { const api2 = {}; const state = reactive({ fields: null }); Object.assign(api2, { state, filter: filter({ emit, vm }) }); return api2; }; export { api, renderless };