import { clx } from "@medusajs/ui" import { ConditionalTooltip } from "../../../../common/conditional-tooltip" import { PlaceholderCell } from "../placeholder-cell" type CellProps = { text?: string | number align?: "left" | "center" | "right" maxWidth?: number } type HeaderProps = { text: string align?: "left" | "center" | "right" } export const TextCell = ({ text, align = "left", maxWidth = 220, }: CellProps) => { if (!text) { return } const stringLength = text.toString().length return ( 20}>
{text}
) } export const TextHeader = ({ text, align = "left" }: HeaderProps) => { return (
{text}
) }