I am creating a new react native app and using react-native-paper. This is not an Expo app but a vanilla react native app.
The react native version is > 0.6.0 and I have followed the steps described in the react-native-paper installation https://callstack.github.io/react-native-paper/getting-started.html
The way the react-native-paper component is used is as below
<Avatar.Icon size={24} icon="folder" />
However when I run the app with the command react-native run-ios
the compilation is successful and the app opens but the red screen appears as below