Created
September 27, 2020 14:44
-
-
Save surfer19/cc2d561c7db837473542e7907a6a89ac 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
// views/Step2.jsx | |
import React from "react"; | |
export const Step2 = ({ navigation }) => { | |
const { previous } = navigation; | |
const submitForm = (e) => {}; | |
return ( | |
<> | |
<h3>Step 2</h3> | |
<button className="btn btn-secondary" onClick={previous}> | |
BACK | |
</button> | |
<button | |
className="btn btn-primary ml-2" | |
type="submit" | |
onClick={submitForm} | |
> | |
SUBMIT | |
</button> | |
</> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment