hello
@@ -23,7 +23,7 @@ exports[` > it handles transparent prop 1`] = ` exports[` > it matches the snapshot 1`] = `hello
diff --git a/src/ui/widgets/Label/label.tsx b/src/ui/widgets/Label/label.tsx index 0cb4966f..44d837b8 100644 --- a/src/ui/widgets/Label/label.tsx +++ b/src/ui/widgets/Label/label.tsx @@ -63,6 +63,7 @@ export const LabelComponent = ( ? "transparent" : (props.backgroundColor?.toString() ?? diamondTheme.palette.primary.main); const font = props.font?.css() ?? diamondTheme.typography; + const border = props.border?.css() ?? "0px solid #000000"; // Since display is "flex", use "flex-start" and "flex-end" to align // the content. @@ -93,7 +94,8 @@ export const LabelComponent = ( color: foregroundColor.toString(), backgroundColor: backgroundColor, fontFamily: font, - transform: `rotate(${rotationStep * -90}deg)`.toString() + transform: `rotate(${rotationStep * -90}deg)`.toString(), + border: border }} > {text} diff --git a/src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap b/src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap index 55519cea..928b152e 100644 --- a/src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap +++ b/src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap @@ -83,7 +83,7 @@ exports[`Fake value