react-native-webview
Version:
React Native WebView component for iOS, Android, macOS, and Windows
42 lines (39 loc) • 710 B
text/typescript
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
container: {
flex: 1,
overflow: 'hidden',
},
loadingOrErrorView: {
position: 'absolute',
flex: 1,
justifyContent: 'center',
alignItems: 'center',
height: '100%',
width: '100%',
backgroundColor: 'white',
},
loadingProgressBar: {
height: 20,
},
errorText: {
fontSize: 14,
textAlign: 'center',
marginBottom: 2,
},
errorTextTitle: {
fontSize: 15,
fontWeight: '500',
marginBottom: 10,
},
webView: {
backgroundColor: '#ffffff',
},
flexStart: {
alignSelf: 'flex-start',
},
colorRed: {
color: 'red',
},
});
export default styles;