content: import React from 'react';
  import { actions } from './../redux';
  import { connect } from 'react-redux';
  
  const inputs = (props) => (
  	<div>
  		<input
  			onChange={(event) => props.update({ password: event.target.value })}
  			placeholder="Master Password"
  			type="password"
  			value={props.password}
  		/>
  		<input
  			onChange={(event) => props.update({ domain: event.target.value })}
  			placeholder="Domain"
  			type="text"
  			value={props.domain}
  		/>
  		<input
  			onChange={(event) => props.update({ username: event.target.value })}
  			placeholder="Account Username"
  			type="text"
  			value={props.username}
  		/>
  		<input
  			onChange={(event) => props.update({ version: event.target.value })}
  			placeholder="Version (leave blank if unsure)"
  			type="text"
  			value={props.version}
  		/>
  		<label>
  			<input
  				checked={props.cache}
  				onChange={(event) => props.update({ cache: event.target.checked })}
  				type="checkbox"
  				value="true"
  			/>
  			Save Info Locally
  		</label>
  	</div>
  );
  
  const mapStateToProps = (state) => (state.app);
  const mapDispatchToProps = { update: actions.app.update };
  
  export default connect(mapStateToProps, mapDispatchToProps)(inputs);