An open API service indexing awesome lists of open source software.

https://github.com/wrathchaos/react-native-imaged-card

Beautiful and Fully Customizable Imaged Card for React Native
https://github.com/wrathchaos/react-native-imaged-card

Last synced: 5 months ago
JSON representation

Beautiful and Fully Customizable Imaged Card for React Native

Awesome Lists containing this project

README

          

React Native Imaged Card

[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/WrathChaos/react-native-imaged-card)

[![Beautiful and Fully Customizable Imaged Card for React Native](https://img.shields.io/badge/-Beautiful%20and%20Fully%20Customizable%20Imaged%20Card%20for%20React%20Native-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-imaged-card)

[![npm version](https://img.shields.io/npm/v/react-native-imaged-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-imaged-card)
[![npm](https://img.shields.io/npm/dt/react-native-imaged-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-imaged-card)
![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)


React Native Imaged Card


Dribbble Inpsiration


React Native Imaged Card

# Installation

Add the dependency:

```ruby
npm i react-native-imaged-card
```

## Peer Dependencies

###### IMPORTANT! You need install them

```js
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-vector-icons": ">= 6.6.0",
"react-native-dynamic-vector-icons": ">= 0.1.1"
```

# Usage

## Import

```js
import ImagedCard from "react-native-imaged-card";
```

## Basic Usage

```js

```

# Configuration - Props

| Property | Type | Default | Description |
| ------------------ | :----: | :---------------------------------------------: | ----------------------------------- |
| stars | number | 5 | change the rendering of star count |
| starColor | color | #e58450 | change the stars colors |
| titleText | string | Pine Nut | use this to set title's text |
| descText | string | Pine nut, also known as Castanea mollissima ... | use this to set description's text |
| regionText | string | Alaskan | use this to set region's text |
| subregionText | string | 350g | use this to set subregion's text |
| backgroundColor | color | #fffae8 | change the main background color |
| dividerStyle | style | default | change the divider's view style |
| titleTextStyle | style | default | change the title's text style |
| descTextStyle | style | default | change the description's text style |
| imageSource | asset | undefined | set your own image for the top one |
| regionTextStyle | style | default | change the region's text style |
| subregionTextStyle | style | default | change the subregion's text style |

## Future Plans

- [x] ~~LICENSE~~
- [ ] Write an article about the lib on Medium

## Credits

Thank you for this awesome inspiration. Designed by [Enhuy](https://dribbble.com/shots/9195334-nuts-app)

## Author

FreakyCoder, kurayogun@gmail.com

## License

React Native Imaged Card is available under the MIT license. See the LICENSE file for more info.