Customizable and perfect clone of Apple, App Store Card Views for React Native.
Add the dependency:
npm i react-native-apple-card-views
"react-native-androw": ">= 0.0.33", "react-native-linear-gradient": ">= 2.5.6", "@freakycoder/react-native-bounceable": ">= 0.1.1"
{}} />
{}} buttonOnPress={() => {}} />
| Property | Type | Default | Description | | ------------------- | :------: | :------------------------------------------------------------------------: | ------------------------------------- | | source | image | default image | set the image background | | style | style | default | change the style of the card | | shadowColor | color | #000 | change the main card's shadow color | | smallTitle | string | NEW GAME | change the small title | | largeTitle | string | The Brilliance of Brawl Stars | change the main large title | | footnoteText | string | The next game from the markers of Clash Royale is here. Tap to learn more. | change the footnote text | | backgroundStyle | style | default | set custom style for background image | | smallTitleTextStyle | style | default | set custom style for small title | | largeTitleTextStyle | style | default | set custom style for large title | | footnoteTextStyle | style | default | set custom style for footnote | | onPress | function | null | use this to set onPress functionality |
| Property | Type | Default | Description | | ------------------- | :------: | :------------: | -------------------------------------- | | shadowColor | color | #000 | change the main card's shadow color | | backgroundSource | image | default image | set the image background for main card | | iconSource | image | default image | set the logo image | | largeTitle | string | APP OF THE DAY | change the main large title | | title | string | 16 | change the title | | subtitle | string | 16 | change the subtitle | | buttonText | string | Ionicons | change the button's text | | buttonSubtitle | string | 25 | change the button's bottom subtitle | | largeTitleTextStyle | style | default | set the custom style for large title | | subtitleTextStyle | style | default | set the custom style for subtitle text | | titleTextStyle | style | default | set the custom style for title text | | iconStyle | style | default | set the custom style for icon | | buttonOnPress | function | null | set a function for button's onPress | | onPress | function | null | set a function for main card's onPress |
FreakyCoder, [email protected]
React Native Apple Card Views Library is available under the MIT license. See the LICENSE file for more info.