import React, { ComponentProps, ComponentType } from 'react'; import { FormattedMessage as Message } from 'react-intl'; import clsx from 'clsx'; import Popup from 'app/components/ui/popup'; import styles from './sourceCodePopup.scss'; interface Props { onClose?: ComponentProps['onClose']; } const SourceCodePopup: ComponentType = ({ onClose }) => ( } wrapperClassName={styles.boundings} data-testid="source-code-popup" onClose={onClose} >