title: React-Native-Snap-Carousel component is not showing properly
body: <p>I am using <a href="https://www.npmjs.com/package/react-native-snap-carousel" rel="nofollow noreferrer">react-native-snap-carousel</a> NPM package with <a href="https://nativebase.io/" rel="nofollow noreferrer">NativeBase</a> in a react-native app. I am able to load the page successfully but the carousel is not showing up the children components as expected. Cards in Carousel are rendering very small (very small height, not visible clearly) </p>
  
  <p>If I use the card component in <code>&lt;ListItem&gt;</code> component of NativeBase, the cards come up perfectly fine, but when use the same card component under carousel component, cards are messed up. Most probably it something related to styles of carousel children component.</p>
  
  <p>This is how carousel looks like on Android (not tested on iOS):
  <a href="https://i.stack.imgur.com/pNIEo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pNIEo.png" alt="enter image description here"></a></p>
  
  <p>Below is the code.</p>
  
  <p><strong>BusinessCarousel.js</strong></p>
  
  <pre><code>import React, { Component } from 'react';
  import { Dimensions } from 'react-native';
  import { Text, View } from 'native-base';
  import Carousel from 'react-native-snap-carousel';
  import BusinessCard from './card';
  
  export class BusinessCarousel extends Component {
    _renderItem({ item, index }) {
      return &lt;BusinessCard business={item} /&gt;;
    }
  
    render() {
      const businesses = [
        {
          name: 'business 1',
          details:
            'Business 1 details Business 1 details Business 1 details Business 1 details Business 1 details ',
          address: {
            fullAddress: 'some address'
          }
        },
        {
          name: 'business 2',
          details:
            'Business 1 details Business 1 details Business 1 details Business 1 details Business 1 details ',
          address: {
            fullAddress: 'some address'
          }
        },
        {
          name: 'business 3',
          details:
            'Business 1 details Business 1 details Business 1 details Business 1 details Business 1 details ',
          address: {
            fullAddress: 'some address'
          }
        }
      ];
  
      return (
          &lt;Carousel
            ref={c =&gt; {
              this._carousel = c;
            }}
            data={businesses}
            renderItem={this._renderItem}
            sliderWidth={Dimensions.get('window').width}
            itemWidth={Dimensions.get('window').width * 0.8}
            containerCustomStyle={{ overflow: 'visible' }}
            contentContainerCustomStyle={{ overflow: 'visible' }}
          /&gt;
      );
    }
  }
  </code></pre>
  
  <p><strong>BusinessCard (card.js)</strong></p>
  
  <pre><code>import React, { Component } from 'react';
  import {
    Card,
    CardItem,
    Left,
    Right,
    Thumbnail,
    Image,
    Text,
    View,
    Button,
    Body,
    Icon
  } from 'native-base';
  
  export default class BusinessCard extends Component {
    _getLogoURL() {
      const { business } = this.props;
      if (business.logo &amp;&amp; business.logo.url) return { uri: business.logo.url };
      return require('../../public/no-image-available.png');
    }
  
    render() {
      const { business } = this.props;
      return (
        &lt;Card&gt;
          &lt;CardItem&gt;
            &lt;Left&gt;
              &lt;Thumbnail source={this._getLogoURL()} /&gt;
              &lt;Body&gt;
                &lt;Text&gt;{business.name}&lt;/Text&gt;
                &lt;Text note numberOfLines={1}&gt;
                  {(business.address &amp;&amp; business.address.fullAddress) || ''}
                &lt;/Text&gt;
              &lt;/Body&gt;
            &lt;/Left&gt;
            &lt;Right&gt;
              &lt;Icon name="create" /&gt;
            &lt;/Right&gt;
          &lt;/CardItem&gt;
          &lt;CardItem&gt;
            &lt;Body&gt;
              &lt;Text&gt;{business.details}&lt;/Text&gt;
            &lt;/Body&gt;
          &lt;/CardItem&gt;
        &lt;/Card&gt;
      );
    }
  }
  </code></pre>