Files
react-native-camera-roll/example/App.js
T

33 lines
707 B
JavaScript
Raw Normal View History

/**
2019-03-03 14:39:57 +08:00
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
import React, {Component} from 'react';
2019-03-03 14:39:57 +08:00
import {StyleSheet, View} from 'react-native';
2019-03-02 17:01:34 +08:00
import CameraRollExample from './js/CameraRollExample';
type Props = {};
export default class App extends Component<Props> {
render() {
return (
<View style={styles.container}>
2019-03-02 17:01:34 +08:00
<CameraRollExample />
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
});