"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var FInputFeedback = _ref => {
  var {
    valid,
    feedback,
    keepHeight
  } = _ref;
  var show = keepHeight || !valid && feedback;
  if (!show) return null;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: "formiga-reactstrap-feedback ".concat(valid ? 'hidden' : '')
  }, feedback != undefined && feedback != "" ? feedback : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, "\xA0"));
};
var _default = FInputFeedback;
exports.default = _default;