Created
September 27, 2020 14:37
-
-
Save surfer19/262d117eb15e000138921e6c2286f6cf 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/Step1.jsx | |
import React from "react"; | |
export const Step1 = ({ navigation }) => { | |
const { next } = navigation; | |
const submitForm = () => { | |
next(); | |
}; | |
return ( | |
<> | |
<h3>Step 1</h3> | |
<button type="submit" className="btn btn-primary" onClick={submitForm}> | |
NEXT | |
</button> | |
</> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment