import {Fragment} from 'react'; import {ModalRenderProps} from 'sentry/actionCreators/modal'; import Button from 'sentry/components/button'; import ButtonBar from 'sentry/components/buttonBar'; import {t} from 'sentry/locale'; type Props = { content: React.ReactElement; disabled: boolean; onSave: () => void; title: string; } & ModalRenderProps; const Modal = ({ title, onSave, content, disabled, Header, Body, Footer, closeModal, }: Props) => (
{title}
{content}
); export default Modal;