bamlab / react-native-image-header-scroll-view

ScrollView with an image in header which becomes a navbar
MIT License
990 stars 94 forks source link

It is possible to pass other libraries for loading images #77

Closed apipemc closed 4 years ago

apipemc commented 4 years ago

For example, I want to change the navita library of react native to download the images and be able to pass a library like: https://github.com/DylanVann/react-native-fast-image

and to be able to put a preload: https://github.com/oblador/react-native-image-progress

For if not lose the effect of interpolation of the image when it is mobilized. since the properties to be able to make a custom headerRender are not exported or propagated to the renderHeader function.

apipemc commented 4 years ago

it would be like adding a new property

import FastImage from 'react-native-fast-image';

<HeaderImageScrollView customImage={FastImage} />