From 9063ae676d0c3bb3594314d611247a7761902585 Mon Sep 17 00:00:00 2001 From: Sankhadeep Date: Wed, 7 Sep 2016 12:08:36 +0530 Subject: [PATCH] radio and checkbox Icon fix --- Components/Widgets/Checkbox.js | 2 +- Components/Widgets/Radio.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Components/Widgets/Checkbox.js b/Components/Widgets/Checkbox.js index a3ced9695..6963c5b3a 100644 --- a/Components/Widgets/Checkbox.js +++ b/Components/Widgets/Checkbox.js @@ -4,7 +4,7 @@ import React from 'react'; import {TouchableOpacity, Platform} from 'react-native'; import NativeBaseComponent from '../Base/NativeBaseComponent'; -import Icon from './Icon'; +import Icon from 'react-native-vector-icons/Ionicons'; export default class CheckBox extends NativeBaseComponent { diff --git a/Components/Widgets/Radio.js b/Components/Widgets/Radio.js index 84d2a2f2a..f9667aafa 100644 --- a/Components/Widgets/Radio.js +++ b/Components/Widgets/Radio.js @@ -4,7 +4,7 @@ import React from 'react'; import {TouchableOpacity, Platform} from 'react-native'; import NativeBaseComponent from '../Base/NativeBaseComponent'; -import Icon from './Icon'; +import Icon from 'react-native-vector-icons/Ionicons'; export default class Radio extends NativeBaseComponent { @@ -17,12 +17,12 @@ export default class Radio extends NativeBaseComponent { render() { return( - {(Platform.OS === 'ios') ? - - : - - } - + {(Platform.OS === 'ios') ? + + : + + } + ); } }