lelandrichardson / react-native-parallax-view

Parallax view for vertical scrollview/listviews with a header image and header content
MIT License
1.29k stars 174 forks source link

backgroundSource propTypes is not object #30

Open someok opened 8 years ago

someok commented 8 years ago

backgroundSource propTypes should be:

PropTypes.oneOfType([
      PropTypes.shape({
        uri: PropTypes.string,
      }),
      // Opaque type returned by require('./image.jpg')
      PropTypes.number,
    ]),
nick-merrill commented 8 years ago

@someok Why don't you submit a pull request so we can get this merged in?

preco21 commented 8 years ago

PR created: https://github.com/lelandrichardson/react-native-parallax-view/pull/28