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; btnSaveLabel?: string; } & ModalRenderProps; function Modal({ title, onSave, content, disabled, Header, Body, Footer, closeModal, btnSaveLabel = t('Save'), }: Props) { return (
{title}
{content}
); } export default Modal;