import styled from '@emotion/styled'; import {t} from 'sentry/locale'; type Props = { className?: string; }; const BaseSimilarSpectrum = ({className}: Props) => (
{t('Similar')} {t('Not Similar')}
); const SimilarSpectrum = styled(BaseSimilarSpectrum)` display: flex; font-size: ${p => p.theme.fontSizeSmall}; `; type ItemProps = { colorIndex: number; }; const SpectrumItem = styled('span')` border-radius: 2px; margin: 5px; width: 14px; ${p => `background-color: ${p.theme.similarity.colors[p.colorIndex]};`}; `; export default SimilarSpectrum;