Last active
July 22, 2020 07:31
-
-
Save jasurkurbanov/b39ca379aa39b6bc765d6ebc6137bdcf to your computer and use it in GitHub Desktop.
MyText-index.js 2
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
import * as React from 'react'; | |
import { Text } from 'react-native'; | |
const MyText = ({ h1, h2, h3, h4, h5, p, bold, italic, title, style, ...rest })=> { | |
return ( | |
<Text>{title}</Text> | |
); | |
}; | |
export { MyText } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment