Skip to content

Commit 9da9d08

Browse files
author
alvaromb
committed
fixes gcanti#60 Adds support for Switch into Android
1 parent e1cfffe commit 9da9d08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/templates/bootstrap/checkbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var { React } = require('../../util');
2-
var { View, Text, SwitchIOS } = React;
2+
var { View, Text, Switch } = React;
33

44
function checkbox(locals) {
55

@@ -24,7 +24,7 @@ function checkbox(locals) {
2424
return (
2525
<View style={formGroupStyle}>
2626
{label}
27-
<SwitchIOS
27+
<Switch
2828
ref="input"
2929
disabled={locals.disabled}
3030
onTintColor={locals.onTintColor}

0 commit comments

Comments
 (0)