Skip to content

Commit 3a0da87

Browse files
committed
example is updated
1 parent 03b06e9 commit 3a0da87

3 files changed

Lines changed: 21 additions & 6 deletions

File tree

example/App.tsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,26 @@ const App = () => {
1414
onPress={(isActive: boolean) => console.log("isActive: ", isActive)}
1515
/>
1616
<RadioButton
17-
style={{ borderColor: "#019310" }}
18-
innerContainer={{ backgroundColor: "#019310" }}
17+
style={{
18+
marginTop: 32,
19+
height: 70,
20+
width: 70,
21+
borderRadius: 35,
22+
borderColor: "#019310",
23+
}}
24+
innerBackgroundColor="#019310"
25+
innerContainerStyle={{ height: 50, width: 50, borderRadius: 25 }}
1926
onPress={(isActive: boolean) => console.log("isActive: ", isActive)}
2027
/>
2128
<RadioButton
29+
style={{
30+
marginTop: 32,
31+
borderRadius: 16,
32+
borderWidth: 3,
33+
borderColor: "#328da8",
34+
}}
35+
innerBackgroundColor="#328da8"
36+
innerContainerStyle={{ height: 50, width: 50, borderRadius: 10 }}
2237
onPress={(isActive: boolean) => console.log("isActive: ", isActive)}
2338
/>
2439
</SafeAreaView>

example/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@freakycoder/react-native-bounceable": "^0.2.5",
1414
"react": "17.0.1",
1515
"react-native": "0.64.1",
16-
"react-native-animated-radio-button": "^2.0.1"
16+
"react-native-animated-radio-button": "^2.0.2"
1717
},
1818
"devDependencies": {
1919
"@babel/core": "^7.12.9",

0 commit comments

Comments
 (0)