Allow for multiple font families when rendering on the web via react-native-web
C
Carlos Barros
The library only supports one font family (the first valid one it finds from all families passed via font/font-family style) because react native only supports a single font family and it would break if we give it more than one font family.
This is not true, though, on the web when rendering the app via react-native-web. Browsers will happily take multiple font families and in certain cases this is the desired behavior. See the following GitHub issue for an example where this is causing problems:
It would be great if there could be a way to control this behavior and instruct the library to accept all font families when rendering on the web.