import React from 'react'; import i18n from 'nfvo-utils/i18n/i18n.js'; import ValidationInput from 'nfvo-components/input/validation/ValidationInput.jsx'; import ValidationForm from 'nfvo-components/input/validation/ValidationForm.jsx'; const LicenseModelPropType = React.PropTypes.shape({ id: React.PropTypes.string, vendorName: React.PropTypes.string, description: React.PropTypes.string }); class LicenseModelCreationView extends React.Component { static propTypes = { data: LicenseModelPropType, onDataChanged: React.PropTypes.func.isRequired, onSubmit: React.PropTypes.func.isRequired, onCancel: React.PropTypes.func.isRequired }; render() { let {data = {}, onDataChanged} = this.props; let {vendorName, description} = data; return (