import { useTranslation } from "react-i18next"; import Icon from "../../Styled/Icon"; import IconWrapper from "../../Styled/IconWrapper"; interface PropsType { inWorkbench?: boolean; } export default function PrivateIndicator(props: PropsType) { const { t } = useTranslation(); return ( p.inWorkbench ? p.theme.textLight : p.theme.charcoalGrey}; } `} > ); }