import { useConceptTheme } from '../../context/ThemeContext'; import { prefixes } from '../../utils/constants'; import { getCstClassColor, mapCstClassInfo } from '../../utils/staticUI'; interface InfoCstClassProps { title?: string } function InfoCstClass({ title }: InfoCstClassProps) { const { colors } = useConceptTheme(); return (
{ title &&

{title}

} { [... mapCstClassInfo.entries()].map( ([cstClass, info], index) => { return (

{info.text} - {info.tooltip}

); })}
); } export default InfoCstClass;