-
{[
["Type", value.style === "overhead" ? "Text labels" : value.style],
[
"Position",
value.style === "overhead" ? (value.placement === "below" ? "Below the text" : "Above the text") : null,
],
[
"Show annotations",
value.reveal === "always"
? "Always"
: value.reveal === "hover"
? "When hovering"
: value.reveal === "click"
? "When clicked"
: value.reveal,
],
["Color", value.color],
["Font", value.fontFamily],
["Font size", value.fontSize],
]
.filter(([, value]) => value)
.map(([label, value]) => (
- {label}
- {value}
{value.instructions}
}