all files / src/workflows/generic/components/root/ EditSimulationWithFileListing.js

92.86% Statements 13/14
100% Branches 4/4
50% Functions 1/2
92.31% Lines 12/13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43                                                             
'use strict';
 
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = editSimulationWithFiles;
 
var _react = require('react');
 
var _react2 = _interopRequireDefault(_react);
 
var _propTypes = require('prop-types');
 
var _propTypes2 = _interopRequireDefault(_propTypes);
 
var _AttachedFileListing = require('./AttachedFileListing');
 
var _AttachedFileListing2 = _interopRequireDefault(_AttachedFileListing);
 
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 
// ----------------------------------------------------------------------------
 
function editSimulationWithFiles(props) {
  return _react2.default.createElement(_AttachedFileListing2.default, {
    owner: props.owner,
    parentProps: props.parentProps,
    containerName: 'simulation'
  });
}
 
// ----------------------------------------------------------------------------
 
editSimulationWithFiles.propTypes = {
  owner: _propTypes2.default.func,
  parentProps: _propTypes2.default.object
};
 
editSimulationWithFiles.defaultProps = {
  owner: undefined,
  parentProps: undefined
};