@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
14 lines (13 loc) • 514 B
JavaScript
const a = {
classes: {
wrapper: "w-full h-full overflow-x-auto",
table: ({ props: l }) => {
const e = ["w-full relative"];
return l.scrollable && e.push("overflow-x-scroll sm:overflow-x-auto whitespace-wrap sm:whitespace-normal"), l.stickyHeader && e.push("relative"), l.fixed && e.push("md:table-fixed"), e;
},
loadingWrapper: "absolute inset-0 flex items-center justify-center z-40 bg-secondary-300 dark:bg-secondary-600 rounded opacity-30"
}
}, s = a;
export {
s as default
};