import React, {PropTypes} from 'react'; const SettingsGeneral = ({settings, updateSetting}) => (
updateSetting('followRedirects', e.target.checked)} />   
updateSetting('validateSSL', e.target.checked)} />   
updateSetting('showPasswords', e.target.checked)} />   
updateSetting('useBulkHeaderEditor', e.target.checked)} />   
updateSetting('forceVerticalLayout', e.target.checked)} />   
updateSetting('editorLineWrapping', e.target.checked)} />   

); SettingsGeneral.propTypes = { settings: PropTypes.object.isRequired, updateSetting: PropTypes.func.isRequired }; export default SettingsGeneral;