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