Skip to content

Commit 85b46db

Browse files
committed
Example is updated
1 parent 1dd7c7c commit 85b46db

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

example/App.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ const App = () => {
5353
return (
5454
<View style={{ marginTop: 16 }}>
5555
<RNCheckboxCard
56-
// darkMode
56+
darkMode
5757
text={text}
58-
// quantity={quantity}
59-
// enableQuantityText
58+
quantity={quantity}
59+
enableQuantityText
6060
onPress={(checked: boolean) => console.log("Checked: ", checked)}
6161
/>
6262
</View>
@@ -65,7 +65,7 @@ const App = () => {
6565

6666
const renderHeader = () => (
6767
<View style={{ marginLeft: 24 }}>
68-
<Text style={{ fontSize: 32, color: "#1b1b1b", fontWeight: "600" }}>
68+
<Text style={{ fontSize: 32, color: "#fff", fontWeight: "600" }}>
6969
Shopping List
7070
</Text>
7171
<Text style={{ color: "#818181", fontSize: 16 }}>
@@ -81,7 +81,7 @@ const App = () => {
8181
style={{
8282
flex: 1,
8383
justifyContent: "center",
84-
backgroundColor: "#edf0f1",
84+
backgroundColor: "#19191a",
8585
}}
8686
>
8787
{renderHeader()}

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"dependencies": {
1313
"@freakycoder/react-native-bounceable": "^0.2.0",
1414
"react": "16.13.1",
15-
"react-native": "0.63.3"
15+
"react-native": "0.63.3",
16+
"react-native-checkbox-card": "^0.1.0"
1617
},
1718
"devDependencies": {
1819
"@babel/core": "^7.8.4",

0 commit comments

Comments
 (0)