alaska-field-mixed
Advanced tools
Comparing version 0.1.0 to 0.4.0
@@ -104,3 +104,27 @@ 'use strict'; | ||
value: function render() { | ||
var field = this.props.field; | ||
var _props = this.props; | ||
var field = _props.field; | ||
var disabled = _props.disabled; | ||
if (disabled) { | ||
return _react2.default.createElement( | ||
'div', | ||
{ className: 'form-group' }, | ||
_react2.default.createElement( | ||
'label', | ||
{ className: 'control-label col-xs-2' }, | ||
field.label | ||
), | ||
_react2.default.createElement( | ||
'div', | ||
{ className: 'col-xs-10' }, | ||
_react2.default.createElement( | ||
'pre', | ||
null, | ||
this.state.text | ||
) | ||
) | ||
); | ||
} | ||
return _react2.default.createElement(_reactBootstrap.Input, { | ||
@@ -107,0 +131,0 @@ ref: 'input', |
{ | ||
"name": "alaska-field-mixed", | ||
"version": "0.1.0", | ||
"version": "0.4.0", | ||
"description": "Alaska mixed data field", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14800
191