push
github
1381 of 2789 branches covered (49.52%)
0 of 265 new or added lines in 30 files covered. (0.0%)
13889 of 77568 relevant lines covered (17.91%)
1.79 hits per line
NEW
|
import { useTranslation } from '../../context/app/i18n'; |
|
NEW
|
|
× |
NEW
|
interface IColorProps { |
× |
NEW
|
children: (text: string, isActive: boolean) => React.ReactNode; |
× |
NEW
|
} |
× |
NEW
|
|
× |
NEW
|
export const Color = (props: IColorProps) => { |
× |
NEW
|
const { children } = props;
|
× |
NEW
|
const { t } = useTranslation();
|
× |
NEW
|
|
× |
NEW
|
return children(t('color.label'), false); |
× |
NEW
|
}; |
× |