UNPKG

@tuoyuan/web

Version:
10 lines (9 loc) 242 B
import { setGlobalConfig as r, getComponentPrefix as l } from "@tuoyuan/arco/es/_utils/global-config"; const f = (n, t) => (n.install = (e) => { r(e, t); const o = l(t); e.component(o + n.name, n); }, n); export { f as withInstall };