Closed brh55 closed 7 years ago
@kmcgill88 Can you review over the interface, just want to make sure it makes sense and if I need to brush up on the docs.
@kmcgill88 Yup absolutely optional, otherwise it defaults to the stock Image component. So it doesn't necessarily have to be FastImage. Since it's Dep Inj/IoC, Masonry
can remain completely JS (Expo compatible), but has the option to use it if need be 💃
As requested per: #34 #29
This allows user to pass in a React.Component to
Masonry
which will be used to render the image component. Along with the custom component, users are able to pass along "default" properties which will propagate (<CustomImageComponent {...props.customImageProps}>
) to each image.