Skip to content

Instantly share code, notes, and snippets.

@sbalay
Last active January 26, 2017 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbalay/e38216dd465fbe1ac7e7baae76820b84 to your computer and use it in GitHub Desktop.
Save sbalay/e38216dd465fbe1ac7e7baae76820b84 to your computer and use it in GitHub Desktop.
import React from 'react';
import { reduxForm, Field } from 'redux-form';
import { ScrollView, Text } from 'react-native';
import MyTextInput from './MyTextInput';
function MyForm() {
return (
<ScrollView keyboardShouldPersistTaps={'handled'}>
<Text>Email</Text>
<Field
name={'email'}
component={MyTextInput}
/>
</ScrollView>
);
}
export default reduxForm({ form: 'signIn' })(MyForm);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment