UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

15 lines (14 loc) 267 B
import { ref as n, computed as r } from "vue"; const i = (o, s) => { const e = n(!0), t = r(() => o.description ? 22 : 16); return { isShow: e, iconSize: t, hanleClose: () => { e.value = !1, s("close"); } }; }; export { i as useAlert };