"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _classnames = _interopRequireDefault(require("classnames"));
var _description = _interopRequireDefault(require("./description.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Description = (props, context) => {
  const {
    className,
    description
  } = props;
  return description ? /*#__PURE__*/_react.default.createElement("div", {
    className: (0, _classnames.default)(_description.default.descriptionWrapper, className)
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _description.default.description
  }, /*#__PURE__*/_react.default.createElement("div", {
    // eslint-disable-next-line react/no-danger
    dangerouslySetInnerHTML: {
      __html: description
    }
  }))) : null;
};
Description.propTypes = process.env.NODE_ENV !== "production" ? {
  description: _propTypes.default.string,
  className: _propTypes.default.string
} : {};
var _default = exports.default = Description;
//# sourceMappingURL=description.js.map