Last active
July 16, 2021 09:25
-
-
Save taingmeng/5d2a81999a53cb10fe869f70ce8707f8 to your computer and use it in GitHub Desktop.
YAGNI Example Normal
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 { View } from "react-native"; | |
import PDFViewer from "../components/PDFViewer"; | |
import termsOfUsePdf from "../resources/TermsOfUse.pdf"; | |
const TermsOfUsePage = () => { | |
return ( | |
<View> | |
<PDFViewer file={termsOfUsePdf} /> | |
</View> | |
); | |
}; | |
export default TermsOfUsePage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment