UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

13 lines (12 loc) 594 B
const s = { classes: { th: ({ props: e }) => { const t = ["relative py-3.5 font-semibold text-sm px-3 bg-secondary-200 dark:bg-secondary-700 select-none"]; return e.sortable && t.push("cursor-pointer hover:bg-secondary-300 dark:hover:bg-secondary-600 transition-colors duration-150 ease-in-out pr-5"), e.textAlign === "left" && t.push("text-left"), e.textAlign === "right" && t.push("text-right"), e.textAlign === "center" && t.push("text-center"), t; }, sortIcon: ({ props: e }) => ["absolute stroke-2 w-4 h-4 top-4 right-2"] } }, r = s; export { r as default };