/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL * FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * @providesModule AnExScroll */ 'use strict'; var React = require('react-native'); var { Animated, Image, ScrollView, StyleSheet, Text, View, } = React; class AnExScroll extends React.Component { constructor(props) { super(props); this.state = { 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;