Skip to content

Instantly share code, notes, and snippets.

@brunosabot
Created September 12, 2020 14:44
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 brunosabot/1203807b99ff7f1741254fbe2f67e8d1 to your computer and use it in GitHub Desktop.
Save brunosabot/1203807b99ff7f1741254fbe2f67e8d1 to your computer and use it in GitHub Desktop.
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