feature/IO-3497-Ant-Design-v5-to-v6 - Checkpoint

This commit is contained in:
Dave
2026-01-12 14:22:29 -05:00
parent 0b2a7f07a7
commit f99f8ab7f8
10 changed files with 26 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ export default function DataLabel({
hideIfNull,
children,
open = true,
valueStyle = {},
styles,
valueClassName,
onValueClick,
...props
@@ -33,7 +33,11 @@ export default function DataLabel({
className={valueClassName}
onClick={onValueClick}
>
{typeof children === "string" ? <Typography.Text style={valueStyle}>{children}</Typography.Text> : children}
{typeof children === "string" ? (
<Typography.Text style={styles?.value}>{children}</Typography.Text>
) : (
children
)}
</div>
</div>
);