Skip to content

Instantly share code, notes, and snippets.

@reciosonny
Created December 19, 2019 12:06
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 reciosonny/1af9ec6a093b5f9d2c4f14bb9d01001f to your computer and use it in GitHub Desktop.
Save reciosonny/1af9ec6a093b5f9d2c4f14bb9d01001f to your computer and use it in GitHub Desktop.
function App() {
const [firstName, setFirstName] = useState("");
const [middleName, setMiddleName] = useState("");
const [lastName, setLastName] = useState("");
return (
<div className="App">
<PersonalInformation
firstName={firstName}
middleName={middleName}
lastName={lastName}
setFirstName={setFirstName}
setMiddleName={setMiddleName}
setLastName={setLastName}
/>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment