import React from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; class CustomizeLayoutOption extends React.Component { render() { const { layoutType } = this.props; return (

{/* render layout description */} {this.props.children}
); } } CustomizeLayoutOption.propTypes = { t: PropTypes.func.isRequired, // i18next layoutType: PropTypes.string.isRequired, labelHtml: PropTypes.string.isRequired, isSelected: PropTypes.bool.isRequired, onSelected: PropTypes.func.isRequired, children: PropTypes.array.isRequired, }; export default withTranslation()(CustomizeLayoutOption);