Created
June 3, 2019 14:59
-
-
Save luandevpro/974dd942d856388eb57cf896c9a32e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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