Skip to content

Commit 9e33e2f

Browse files
committed
README is updated
1 parent 8017be6 commit 9e33e2f

File tree

8 files changed

+14
-5
lines changed

8 files changed

+14
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
<p align="center">
1717
<img alt="React Native Bouncy Checkbox"
18-
src="https://github.com/WrathChaos/react-native-bouncy-checkbox/blob/master/assets/Screenshots/JSLibraryBoilerplate.png" />
18+
src="assets/Screenshots/example.gif" width="49%" />
19+
<img alt="React Native Bouncy Checkbox"
20+
src="assets/Screenshots/example.png" width="49%" />
1921
</p>
2022

2123
## Installation
-4.84 KB
Binary file not shown.

assets/Screenshots/example.gif

5.73 MB
Loading

assets/Screenshots/example.png

371 KB
Loading

example/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import React from "react";
22
import { View, StatusBar, SafeAreaView } from "react-native";
33
import BouncyCheckbox from "./lib/src/BouncyCheckbox";
4+
import { AppleHeader } from "@freakycoder/react-native-header-view";
5+
import BottomSearchBar from "react-native-bottom-search-bar";
46

57
const App = () => {
68
return (
79
<View style={{ flex: 1 }}>
810
<StatusBar barStyle="dark-content" />
911
<SafeAreaView style={{ flex: 1 }}>
12+
<AppleHeader />
1013
<View style={{ margin: 16 }}>
1114
<BouncyCheckbox />
1215
<BouncyCheckbox text="Get groceries" />
@@ -16,6 +19,7 @@ const App = () => {
1619
<BouncyCheckbox text="Try new gym routine" isChecked />
1720
<BouncyCheckbox text="Do a load of laundry" isChecked />
1821
</View>
22+
<BottomSearchBar />
1923
</SafeAreaView>
2024
</View>
2125
);

example/lib/src/BouncyCheckbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ BouncyCheckbox.defaultProps = {
129129
isChecked: false,
130130
text: "Call my mom 😇",
131131
textColor: "#757575",
132-
fillColor: "#f09f48",
133-
borderColor: "#f09f48",
132+
fillColor: "#ffc484",
133+
borderColor: "#ffc484",
134134
unfillColor: "transparent",
135135
fontFamily: "JosefinSans-Regular"
136136
};

example/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13+
"@freakycoder/react-native-header-view": "^0.4.8",
1314
"react": "16.9.0",
1415
"react-native": "0.61.2",
16+
"react-native-bottom-search-bar": "0.0.24",
1517
"react-native-dynamic-vector-icons": "^0.2.1",
18+
"react-native-iphone-x-helper": "^1.2.1",
1619
"react-native-vector-icons": "^6.6.0"
1720
},
1821
"devDependencies": {

lib/src/BouncyCheckbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ BouncyCheckbox.defaultProps = {
129129
isChecked: false,
130130
text: "Call my mom 😇",
131131
textColor: "#757575",
132-
fillColor: "#f09f48",
133-
borderColor: "#f09f48",
132+
fillColor: "#ffc484",
133+
borderColor: "#ffc484",
134134
unfillColor: "transparent",
135135
fontFamily: "JosefinSans-Regular"
136136
};

0 commit comments

Comments
 (0)