"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var ConditionRender = function ConditionRender(_ref) {
  var condition = _ref.condition,
      children = _ref.children;

  if (!condition) {
    return null;
  }

  return children;
};

var _default = ConditionRender;
exports["default"] = _default;