Created
January 23, 2022 11:09
-
-
Save Cst2989/39fba532d187b1c2875c8f2f64ff5088 to your computer and use it in GitHub Desktop.
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
const { width } = useWindowDimensions(); | |
const systemFonts = ['Lato_400Regular']; | |
return ( | |
<SafeAreaView style={styles.container}> | |
<ScrollView style={styles.scrollView}> | |
<RenderHtml | |
source={{ html: props.html }} | |
systemFonts={systemFonts} | |
tagsStyles={tagsStyles} | |
contentWidth={width} | |
/> | |
</ScrollView> | |
</SafeAreaView> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment