Last active
May 20, 2021 13:13
-
-
Save GeoffMahugu/7429b0cedb21c373b7e785d1182b53b1 to your computer and use it in GitHub Desktop.
This is a react typescript CartPage
This file contains hidden or 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
import React from 'react'; | |
import { Link } from 'react-router-dom'; | |
import IPageProps from '../interfaces/page.interface'; | |
const CartPage: React.FunctionComponent<IPageProps> = props => { | |
return ( | |
<div> | |
<h1> Cart Page - Protected</h1> | |
<Link to={`/`}> | |
<button>Back Home</button> | |
</Link> | |
</div> | |
); | |
} | |
export default CartPage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment