UNPKG

react-jsf

Version:

JSF Compliant React Components

24 lines (19 loc) 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var ValidationResponse = /** * * @param {boolean} err * @param {string} [message] * @param {string} [elemId] */ function ValidationResponse(err, message, elemId) { _classCallCheck(this, ValidationResponse); this.error = err; this.message = message; this.elementId = elemId; }; exports.default = ValidationResponse;