UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

40 lines (39 loc) 648 B
import { c as t } from "../../index-BNmRGtA6.js"; const r = t([ "table-auto", "w-full", "border-collapse", "border-spacing-0", "rounded" ]), a = t( [ "h-8", "text-inherit", "[&>td]:py-3", "[&>td]:px-4", "text-slate-700", "hover:bg-zinc-100", "hover:cursor-pointer" ], { variants: { isSelected: { true: "bg-purple-50", false: "" } } } ), o = t([ "h-[18px]", "bg-slate-100", "[&>tr>th]:py-3", "[&>tr>th]:px-4", "[&>tr>th]:uppercase", "text-left" ]), s = t([]); export { s as bodyVariants, o as headVariants, a as rowVariants, r as tableVariants };