2019-02-24 02:52:56 +00:00
|
|
|
/**
|
2019-03-03 06:39:57 +00: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.
|
2019-02-24 02:52:56 +00:00
|
|
|
*
|
|
|
|
* @format
|
|
|
|
* @flow
|
|
|
|
*/
|
|
|
|
import React, {Component} from 'react';
|
2019-03-03 06:39:57 +00:00
|
|
|
import {StyleSheet, View} from 'react-native';
|
2019-03-02 09:01:34 +00:00
|
|
|
import CameraRollExample from './js/CameraRollExample';
|
2019-02-24 02:52:56 +00:00
|
|
|
|
|
|
|
type Props = {};
|
|
|
|
export default class App extends Component<Props> {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<View style={styles.container}>
|
2019-03-02 09:01:34 +00:00
|
|
|
<CameraRollExample />
|
2019-02-24 02:52:56 +00:00
|
|
|
</View>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
flex: 1,
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
backgroundColor: '#F5FCFF',
|
|
|
|
},
|
|
|
|
});
|