Skip to content

Commit 8bed106

Browse files
committed
README is here
1 parent 3db847a commit 8bed106

6 files changed

Lines changed: 52 additions & 25 deletions

File tree

README.md

Lines changed: 43 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
1-
<img alt="React Native Library Boilerplate" src="assets/logo.png" width="1050"/>
1+
<img alt="React Native Imaged Carousel Card" src="assets/logo.png" width="1050"/>
22

3+
[![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-carousel-card)
34

4-
[![Battle Tested ✅](https://img.shields.io/badge/-Battle--Tested%20%E2%9C%85-03666e?style=for-the-badge)](https://github.com/WrathChaos/react-native-library-boilerplate)
5+
[![Fully customizable & Lovely Imaged Carousel Card for React Native](https://img.shields.io/badge/-Fully%20customizable%20%26%20Lovely%20Imaged%20Carousel%20Card%20for%20React%20Native-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-imaged-carousel-card)
56

6-
7-
[![React Native Library Boiler Plate](https://img.shields.io/badge/-React%20Native%20Library%20Boilerplate-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-library-boilerplate)
8-
9-
10-
[![npm version](https://img.shields.io/npm/v/react-native-library-boilerplate.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-library-boilerplate)
11-
[![npm](https://img.shields.io/npm/dt/react-native-library-boilerplate.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-library-boilerplate)
7+
[![npm version](https://img.shields.io/npm/v/react-native-imaged-carousel-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-imaged-carousel-card)
8+
[![npm](https://img.shields.io/npm/dt/react-native-imaged-carousel-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-imaged-carousel-card)
129
![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)
1310
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
1411
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)
1512

1613
<p align="center">
17-
<img alt="React Native Library Boilerplate"
18-
src="assets/Screenshots/JSLibraryBoilerplate.png" />
14+
<img alt="React Native Imaged Carousel Card"
15+
src="assets/Screenshots/ss2.png" width="49.7%" />
16+
<img alt="React Native Imaged Carousel Card"
17+
src="assets/Screenshots/ss3.png" width="49.7%" />
1918
</p>
2019

2120
# Installation
2221

2322
Add the dependency:
2423

2524
```ruby
26-
npm i react-native-library-boilerplate
25+
npm i react-native-imaged-carousel-card
2726
```
2827

2928
## Peer Dependencies
@@ -40,37 +39,56 @@ npm i react-native-library-boilerplate
4039
## Import
4140

4241
```js
43-
import { Component1, Component2 } from "react-native-library-boilerplate";
42+
import ImagedCarouselCard from "react-native-imaged-carousel-card";
4443
```
4544

46-
## Component1 Usage
45+
## Basic Usage
4746

4847
```js
49-
<Component1 />
48+
<ImagedCarouselCard />
49+
```
50+
51+
## Advanced Usage
52+
53+
```js
54+
<ImagedCarouselCard
55+
width={200}
56+
height={200}
57+
shadowColor="#051934"
58+
source={{
59+
uri: "",
60+
}}
61+
/>
5062
```
5163

5264
# Configuration - Props
5365

54-
| Property | Type | Default | Description |
55-
| -------- | :-----: | :-----: | ------------------------------------------------------- |
56-
| outline | boolean | true | make the button outline |
57-
| solid | boolean | false | make the button with a solid background and a shadow |
58-
| gradient | boolean | false | make the button with a gradient background and a shadow |
59-
| width | number | 150 | change the button's width |
66+
| Property | Type | Default | Description |
67+
| ------------------------------ | :-----------: | :---------------------: | ----------------------------------------------------- |
68+
| text | string | California Festive 2020 | change the text |
69+
| width | number/string | 300 | change the main card's width |
70+
| height | number/string | 300 | change the main card's height |
71+
| source | asset | default | change the main card's background source |
72+
| borderRadius | number | 16 | change the main card's border radius |
73+
| textStyle | style | default | set your own text style |
74+
| shadowColor | color | #000 | change the shadow color |
75+
| shadowStyle | style | default | set your own shadow style |
76+
| overlayHeight | number | 50 | change the black overlay's height |
77+
| overlayBackgroundColor | color | rgba(0,0,0,0.3) | change the black overlay's background color |
78+
| overlayBorderBottomLeftRadius | number | 16 | change the black overlay's border bottom left radius |
79+
| overlayBorderBottomRightRadius | number | 16 | change the black overlay's border bottom right radius |
80+
| shadowPaddingBottom | number | 18 | This is a **need** for shadow but you can change it |
6081

6182
## Future Plans
6283

6384
- [x] ~~LICENSE~~
85+
- [ ] Typescript Challenge!
6486
- [ ] Write an article about the lib on Medium
6587

66-
# Change Log
67-
68-
Change log will be here !
69-
7088
## Author
7189

7290
FreakyCoder, kurayogun@gmail.com
7391

7492
## License
7593

76-
React Native Library Boilerplate is available under the MIT license. See the LICENSE file for more info.
94+
React Native Imaged Carousel Card is available under the MIT license. See the LICENSE file for more info.
-4.84 KB
Binary file not shown.

assets/Screenshots/ss2.png

998 KB
Loading

assets/Screenshots/ss3.png

218 KB
Loading

assets/logo.png

1.46 KB
Loading

example/App.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ const App = () => {
2424
}}
2525
>
2626
<ImagedCarouselCard />
27+
<ImagedCarouselCard
28+
height={200}
29+
width={200}
30+
shadowColor="#051934"
31+
source={{
32+
uri:
33+
"https://images.unsplash.com/photo-1503891450247-ee5f8ec46dc3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80"
34+
}}
35+
/>
2736
</View>
2837
</SafeAreaView>
2938
</>

0 commit comments

Comments
 (0)