Skip to content

Instantly share code, notes, and snippets.

@surfer19
Created September 27, 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 surfer19/cc2d561c7db837473542e7907a6a89ac to your computer and use it in GitHub Desktop.
Save surfer19/cc2d561c7db837473542e7907a6a89ac to your computer and use it in GitHub Desktop.
// 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