Skip to content

Tag: react-native

How to add custom Icons to NativeBase

I have the .ttf and .svg files for customized icons that I designed. But I would like to import them into my NativeBase project, making them available for use in NB’s <Icon /> component. How can I achieve this? Answer React Native Custom Icon Font for NativeBase Adopted from: https://medium.com/@k…

How to parse html in react native

So I have html strings in this format: And I would like to parse them into nodes like blow: I know you can do something like: but in react native I got can’t find variable: document and it seems like I will need a web-view to do this. Are there any alternative ways to parse this string? Answer If there