diff --git a/src/screens/Article.js b/src/screens/Article.js index 55d3a39..dff711b 100644 --- a/src/screens/Article.js +++ b/src/screens/Article.js @@ -10,90 +10,114 @@ import { import { Constants } from 'expo'; // galio components -import { - Block, Card, Text, Icon, NavBar, -} from 'galio-framework'; +import { Block, Card, Text, Icon, NavBar } from 'galio-framework'; import theme from '../theme'; const { width, height } = Dimensions.get('screen'); -const bgImage = 'https://images.unsplash.com/photo-1516651029879-bcd191e7d33b?fit=crop&w=900&q=80'; +const bgImage = + 'https://images.unsplash.com/photo-1516651029879-bcd191e7d33b?fit=crop&w=900&q=80'; const Article = props => ( - - - - props.navigation.openDrawer()} /> - + + + + + props.navigation.openDrawer()} + /> + - + - - - - I would happily watch a TV show about crabs - - InterBlocking this super star - - + + + + + I would happily watch a TV show about crabs + + + InterBlocking this super star + + - - - - - + + - 25.6k - + + + 25.6k + + + + + + 936 + + - - - - 936 - - - - )} - /> - + } + /> + - - You should totally like check this out, ok? Why would you use another UI - library when you have so many components written by Creative Tim and the - whole React Native community. Galio was created by developers for - developers. + You should totally like check this out, ok? Why would you use + another UI library when you have so many components written by + Creative Tim and the whole React Native community. Galio was created + by developers for developers. {"A lot of Bacon. I'd really like to eat like a LOT of Bacon :(."} - + - + ); const styles = StyleSheet.create({ @@ -134,6 +158,10 @@ const styles = StyleSheet.create({ fontSize: theme.SIZES.FONT * 0.875, lineHeight: theme.SIZES.FONT * 1.25, }, + container: { + flex: 1, + backgroundColor: 'red', + }, }); export default Article;