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)} />   
updateSetting('editorFontSize', parseInt(e.target.value, 10))} />
updateSetting('timeout', parseInt(e.target.value, 10))} />

updateSetting('httpProxy', e.target.value)} />
updateSetting('httpsProxy', e.target.value)} />

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