import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import AppContainer from '../../../services/AppContainer'; import { createSubscribedElement } from '../../UnstatedUtils'; class Customize extends React.Component { render() { const { t } = this.props; return (

{t('customize_page.Layout')}

{/* レイアウトコンポーネントを設置する */}
{t('customize_page.Theme')} {/* テーマフォームの react componentをここで呼ぶ(GW-245) */} {t('customize_page.Behavior')} {/* 挙動フォームの react componentをここで呼ぶ(GW-246) */} {t('customize_page.Function')} {/* 機能フォームの react componentをここで呼ぶ(GW-276) */} {t('customize_page.Code Highlight')} {/* コードハイライトフォームの react componentをここで呼ぶ(GW-277) */} {t('customize_page.custom_title')} {/* カスタムタイトルフォームの react componentをここで呼ぶ(GW-278) */} {t('customize_page.Custom CSS')} {/* カスタムCSSフォームの react componentをここで呼ぶ(GW-279) */} {t('customize_page.Custom script')} {/* カスタムスクリプトフォームの react componentをここで呼ぶ(GW-280) */}
); } } const CustomizeWrapper = (props) => { return createSubscribedElement(Customize, props, [AppContainer]); }; Customize.propTypes = { t: PropTypes.func.isRequired, // i18next appContainer: PropTypes.instanceOf(AppContainer).isRequired, }; export default withTranslation()(CustomizeWrapper);