react-native-navigation的迁移库

Bounds.js 250B

123456789101112131415
  1. const React = require('react');
  2. const { View } = require('react-native');
  3. module.exports = (props) => {
  4. return (
  5. <View style={{
  6. borderWidth: 0.5,
  7. borderColor: 'red',
  8. flex: 1
  9. }}>
  10. {props.children}
  11. </View>
  12. );
  13. };