tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
22 lines (21 loc) • 470 B
JavaScript
import { defineComponent as t, openBlock as o, createElementBlock as s, normalizeStyle as n, renderSlot as r } from "vue";
const a = { name: "TyhAside" }, p = /* @__PURE__ */ t({
...a,
props: {
width: {
type: String,
default: () => "200px"
}
},
setup(l) {
return (e, d) => (o(), s("aside", {
class: "tyh-aside",
style: n({ width: e.width })
}, [
r(e.$slots, "default")
], 4));
}
});
export {
p as default
};