Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -11,7 +11,7 @@ import * as SubframeUtils from "../../utils";
|
||||
export interface CellProps
|
||||
extends React.TdHTMLAttributes<HTMLTableDataCellElement> {
|
||||
children?: React.ReactNode;
|
||||
variant?: "align-left" | "align-center";
|
||||
variant?: "align-left" | "align-center" | "align-right";
|
||||
className?: string;
|
||||
}
|
||||
|
||||
@@ -24,8 +24,11 @@ const Cell = React.forwardRef<HTMLTableDataCellElement, CellProps>(
|
||||
<td className={className} ref={ref} {...otherProps}>
|
||||
<div
|
||||
className={SubframeUtils.twClassNames(
|
||||
"group/291d4418 flex h-full min-h-[48px] w-full items-center border-r border-solid border-border-default px-4 py-1",
|
||||
{ "justify-center": variant === "align-center" }
|
||||
"group/291d4418 flex h-full min-h-[48px] w-full min-w-[0px] items-center border-r border-solid border-border-default px-4 py-1",
|
||||
{
|
||||
"justify-end": variant === "align-right",
|
||||
"justify-center": variant === "align-center",
|
||||
}
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in new issue
Block a user