@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
14 lines (13 loc) • 563 B
JavaScript
const a = {
classes: {
wrapper: "w-full h-full shadow-sm overflow-x-auto text-sm bg-white dark:bg-secondary-800",
table: ({ props: s }) => {
const e = ["w-full relative"];
return s.scrollable && e.push("overflow-x-scroll sm:overflow-x-auto whitespace-wrap sm:whitespace-normal"), s.stickyHeader && e.push("relative"), s.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"
}
}, t = a;
export {
t as default
};