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.

20 lines (19 loc) 440 B
import "../chunk-G2ADBYYC.js"; import { computedBarStyle } from "./index"; const api = ["state", "computedBarStyle"]; const renderless = (props, { inject, reactive }, { parent }) => { const state = reactive({ rootTabs: inject("rootTabs"), barStyle: {}, separator: inject("separator", null) }); const api2 = { state, computedBarStyle: computedBarStyle(parent) }; return api2; }; export { api, renderless };