No Description

WebGL.tsx 471B

1234567891011121314151617181920212223
  1. import React, {Component} from 'react';
  2. import {View} from 'react-native';
  3. import WebView from 'react-native-webview';
  4. type Props = {};
  5. type State = {};
  6. export default class WebGL extends Component<Props, State> {
  7. state = {};
  8. render() {
  9. return (
  10. <View style={{flex: 1}}>
  11. <WebView
  12. source={{uri: 'https://webglsamples.org/aquarium/aquarium.html'}}
  13. automaticallyAdjustContentInsets={false}
  14. />
  15. </View>
  16. );
  17. }
  18. }