Repository URL to install this package:
|
Version:
3.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const exotic_1 = require("exotic");
/**
* @extends TextBoxComponent @bound
*/
function handleBlur(event, props, state) {
const {
onBlur,
onFormValidation
} = props; // @todo @fixme should not need to pass in
state.updateFocused(event, this);
if (exotic_1.isFunction(onBlur)) {
onBlur(state);
}
if (exotic_1.isFunction(onFormValidation)) {
onFormValidation(state, props);
}
}
exports.handleBlur = handleBlur; //# sourceMappingURL=handleBlur.js.map