Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
import { FieldArray } from 'formik';
import { View, Button } from 'react-native';
import CustomCheckBox from './CustomCheckBox';
export default props => (
<View>
<FieldArray name="languages">
{ arrayHelpers => <View><CustomCheckBox arrayHelpers={arrayHelpers} {...props} /></View> }
</FieldArray>
<Button onPress={props.handleSubmit} title="Submit" />
</View>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.