// A column's `align` as its text-alignment class, shared by the header row (tableHeader) and the table // bodies that render under it. Its own module so tableHeader exports only components (Fast Refresh). export const alignClass = (a?: "left" | "right" | "center") => a === "right" ? "text-right" : a === "center" ? "text-center" : "text-left";