-
-
Save brunosabot/1203807b99ff7f1741254fbe2f67e8d1 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, { useState } from "react"; | |
import { TextInput } from "react-native"; | |
export default function InputForm() { | |
const [beerName, setBeerName] = useState(""); | |
return ( | |
<TextInput value={beerName} onChangeText={setBeerName} /> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment