import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import { createSubscribedElement } from '../../UnstatedUtils'; import AppContainer from '../../../services/AppContainer'; class MarkdownSetting extends React.Component { constructor(props) { super(props); this.state = { }; } render() { const { t } = this.props; return (
{ t('markdown_setting.line_break_setting') }

{ t('markdown_setting.line_break_setting_desc') }

{ t('markdown_setting.Enable Line Break desc') }

{ t('markdown_setting.Enable Line Break for comment desc') }

{ t('markdown_setting.presentation_setting') }

{ t('markdown_setting.presentation_setting_desc') }

{ t('markdown_setting.XSS_setting') }

{ t('markdown_setting.XSS_setting_desc') }

); } } const MarkdownSettingWrapper = (props) => { return createSubscribedElement(MarkdownSetting, props, [AppContainer]); }; MarkdownSetting.propTypes = { t: PropTypes.func.isRequired, // i18next appContainer: PropTypes.instanceOf(AppContainer).isRequired, }; export default withTranslation()(MarkdownSettingWrapper);