UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

25 lines (24 loc) 700 B
import { defineComponent as c, openBlock as m, createElementBlock as d, normalizeClass as t, unref as e, normalizeStyle as p, createElementVNode as f, renderSlot as u } from "vue"; import { useTheme as i } from "../../composables/useTheme.js"; const _ = { stickyHeader: Boolean }, h = { name: "XTableHead" }, k = /* @__PURE__ */ c({ ...h, props: _, setup(a) { const o = a, { styles: l, classes: s, className: r } = i("TableHead", {}, o); return (n, y) => (m(), d("thead", { class: t([e(r), e(s).thead]), style: p(e(l)) }, [ f("tr", { class: t(e(s).row) }, [ u(n.$slots, "default") ], 2) ], 6)); } }); export { k as default };