Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Nov 28, 2019
1 parent 0d855f2 commit 2391032
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Expand Up @@ -91,11 +91,9 @@ export default () => {
const { register, setValue, handleSubmit } = useForm();
const onSubmit = data => console.log(data);

const onChange = args => {
return {
value: args[0].nativeEvent.text,
};
};
const onChange = args => ({
value: args[0].nativeEvent.text,
});

return (
<View style={styles.container}>
Expand Down

0 comments on commit 2391032

Please sign in to comment.