Further UI Improvements
This commit is contained in:
@@ -7,6 +7,7 @@ export default function DataLabel({
|
||||
children,
|
||||
vertical,
|
||||
visible = true,
|
||||
valueStyle = {},
|
||||
...props
|
||||
}) {
|
||||
if (!visible || (hideIfNull && !!!children)) return null;
|
||||
@@ -30,7 +31,7 @@ export default function DataLabel({
|
||||
}}
|
||||
>
|
||||
{typeof children === "string" ? (
|
||||
<Typography.Text>{children}</Typography.Text>
|
||||
<Typography.Text style={valueStyle}>{children}</Typography.Text>
|
||||
) : (
|
||||
children
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user