/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule AnExScroll * @flow */ 'use strict'; var React = require('react'); var ReactNative = require('react-native'); var { Animated, Image, ScrollView, StyleSheet, Text, View, } = ReactNative; class AnExScroll extends React.Component<$FlowFixMeProps, any> { state: any = { scrollX: new Animated.Value(0) }; render() { var width = this.props.panelWidth; return ( {'I\'ll find something to put here.'} {'And here.'} {'But not here.'} ); } } var styles = StyleSheet.create({ container: { backgroundColor: 'transparent', flex: 1, }, text: { padding: 4, paddingBottom: 10, fontWeight: 'bold', fontSize: 18, backgroundColor: 'transparent', }, bunny: { backgroundColor: 'transparent', position: 'absolute', height: 160, width: 160, }, page: { alignItems: 'center', justifyContent: 'flex-end', }, }); var HAWK_PIC = {uri: 'https://scontent-sea1-1.xx.fbcdn.net/hphotos-xfa1/t39.1997-6/10734304_1562225620659674_837511701_n.png'}; var BUNNY_PIC = {uri: 'https://scontent-sea1-1.xx.fbcdn.net/hphotos-xaf1/t39.1997-6/851564_531111380292237_1898871086_n.png'}; module.exports = AnExScroll;