WrathChaos / react-native-apple-card-views

Customizable and perfect clone of Apple, App Store Card Views for React Native.
https://www.freakycoder.com
MIT License
401 stars 25 forks source link

backgroundStyle not working with <AppOfTheDayCard> #19

Closed prox2 closed 3 years ago

prox2 commented 3 years ago

I am trying to set height to the card a tried backgroundStyle but doesn't work

<AppOfTheDayCard
                                    iconSource={require("../assets/banners/food-banner1.jpg")}
                                    backgroundSource={require("../assets/banners/food-banner2.jpg")}
                                    onPress={() => { }}
                                    buttonOnPress={() => { }}
                                    backgroundStyle={{
                                        height: 200,
                                    }}
                                />
WrathChaos commented 3 years ago

Hello @prox2,

Thank you for using this library and reporting this issue.

Actually there is no prop like backgroundStyle for AppOfTheDayCard. It is available on AppleCard.

I will make it more customizable. I will inform you when it is available :)

WrathChaos commented 3 years ago

Hello again @prox2,

Here is the new version, please try it. You can customize it with style prop :)

Release v2.1.2 🤩

prox2 commented 3 years ago

@WrathChaos thank you so much