Skip to content

Commit

Permalink
use ScrollView for Carousel example screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Jan 1, 2020
1 parent c42e199 commit 39ab763
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/src/screens/componentScreens/CarouselScreen.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import {StyleSheet} from 'react-native';
import {StyleSheet, ScrollView} from 'react-native';
import {Constants, View, Text, Carousel, Image, Card} from 'react-native-ui-lib'; // eslint-disable-line
import _ from 'lodash';

Expand Down Expand Up @@ -28,7 +28,7 @@ class CarouselScreen extends Component {

render() {
return (
<View flex>
<ScrollView>
<Text text30 margin-20>
Carousel
</Text>
Expand Down Expand Up @@ -89,7 +89,7 @@ class CarouselScreen extends Component {
})}
</Carousel>
</View>
</View>
</ScrollView>
);
}
}
Expand Down

0 comments on commit 39ab763

Please sign in to comment.