Further UI Improvements

This commit is contained in:
Patrick Fic
2021-03-26 17:23:16 -07:00
parent 6c47918542
commit 17264ff7d6
26 changed files with 993 additions and 815 deletions

View File

@@ -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
)}