Created
July 28, 2020 15:16
-
-
Save giioohbernini/07f26a9c06d6e159eb17a625e4041776 to your computer and use it in GitHub Desktop.
Web to native #3
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 isApp from 'utils/isApp' | |
| const welcomeType = isApp | |
| ? 'Your app about page' | |
| : 'Your web about page' | |
| const About = () => { | |
| return ( | |
| <div> | |
| <h2>About - {welcomeType}</h2> | |
| </div> | |
| ) | |
| } | |
| export default About |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment