Closed lamaj411 closed 4 years ago
Is this solved ? i need solution.
Pass remote css file to source.html
is a solution, But i think is not good.
<AutoHeightWebView
customStyle={`body{font-family: 'your-custom-font'}`}
source={{
html: `<link rel="stylesheet" href="remote-font-css-url.css" /><p>example</p>`,
}}
/>
How change font-family of react-native webview using font-family.ttf from assets, please show some example code