1 2 3 4 5 6 7 8
import PropTypes from 'prop-types'; import Workspace from './models/Workspace'; export default { edit: { workspace: PropTypes.instanceOf(Workspace).isRequired, }, };