Sha256: c57d6ece83c59697617a5916742aea9ac61f693018edfffed3089af322f37945
Contents?: true
Size: 849 Bytes
Versions: 130
Compression:
Stored size: 849 Bytes
Contents
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import UpdateDialog from './UpdateDialog'; import UnsavedChangesDialog from './UnsavedChangesDialog'; import InputsErrorsDialog from './InputsErrorsDialog'; import DeleteDialog from './DeleteDialog'; const Dialogs = ({ updateDialog, unsavedChangesDialog, inputsErrorsDialog, deleteDialog, }) => ( <Fragment> <UpdateDialog {...updateDialog} /> <UnsavedChangesDialog {...unsavedChangesDialog} /> <InputsErrorsDialog {...inputsErrorsDialog} /> <DeleteDialog {...deleteDialog} /> </Fragment> ); Dialogs.propTypes = { updateDialog: PropTypes.shape({}).isRequired, unsavedChangesDialog: PropTypes.shape({}).isRequired, inputsErrorsDialog: PropTypes.shape({}).isRequired, deleteDialog: PropTypes.shape({}).isRequired, }; export default Dialogs;
Version data entries
130 entries across 130 versions & 1 rubygems