'use strict';

Object.defineProperty(exports, "__esModule", {
        value: true
});
exports.Paragraph = undefined;

var _lodash = require('lodash');

var _lodash2 = _interopRequireDefault(_lodash);

var _Common = {
        "inner-block": "Common__inner-block___2cOrF",
        "disable-inner-block": "Common__disable-inner-block___1MLd0",
        "components": "Common__components___2fQuj",
        "component": "Common__component___3bwMg",
        "hide": "Common__hide___2HyoH",
        "desc-text-color": "Common__desc-text-color___2fV3l",
        "desc-text-block": "Common__desc-text-block___1Z4b-",
        "text-link": "Common__text-link___1jaLy",
        "image": "Common__image___AKB6W",
        "imagediff": "Common__imagediff___2j7tX",
        "slideshow": "Common__slideshow___1Fz23",
        "embeddedcode": "Common__embeddedcode___3Avmp",
        "youtube": "Common__youtube___2oq1n",
        "topic-box": "Common__topic-box___2Q-kN"
};

var _Common2 = _interopRequireDefault(_Common);

var _classnames = require('classnames');

var _classnames2 = _interopRequireDefault(_classnames);

var _Paragraph = {
        "paragraph": "Paragraph__paragraph___39oI_"
};

var _Paragraph2 = _interopRequireDefault(_Paragraph);

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// eslint-disable-next-line

var Paragraph = exports.Paragraph = function Paragraph(_ref) {
        var content = _ref.content;

        return _react2.default.createElement('div', { className: (0, _classnames2.default)(_Paragraph2.default.paragraph, _Common2.default['inner-block'], 'text-justify'),
                dangerouslySetInnerHTML: { __html: _lodash2.default.get(content, [0], '') } });
};