import cn from "classnames"; import { T } from "src/locale"; interface Props { value: boolean; trueLabel?: string; trueColor?: string; falseLabel?: string; falseColor?: string; } export function TrueFalseFormatter({ value, trueLabel = "enabled", trueColor = "lime", falseLabel = "disabled", falseColor = "red", }: Props) { return ( ); }