cosmo-ui
Version:
Common React components
26 lines • 913 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var form_field_1 = require("../abstract/form-field");
var MobileFormField = (function (_super) {
tslib_1.__extends(MobileFormField, _super);
function MobileFormField() {
return _super !== null && _super.apply(this, arguments) || this;
}
MobileFormField.prototype.componentDidMount = function () {
// console.log('FORM FIELD DID MOUNT', this)
this.init();
};
MobileFormField.prototype.styles = function () {
return {
height: 50,
};
};
MobileFormField.prototype.render = function () {
console.log('RENDER FORM FIELD', this.props);
return this.renderField();
};
return MobileFormField;
}(form_field_1.BaseFormField));
exports.MobileFormField = MobileFormField;
//# sourceMappingURL=form-field.js.map