diff --git a/src/Card.js b/src/Card.js index 21ea20e..ade987d 100644 --- a/src/Card.js +++ b/src/Card.js @@ -4,8 +4,8 @@ import { Image, StyleSheet } from 'react-native'; import PropTypes from 'prop-types'; // galio components import Block from './Block'; -import Text from './Text'; -import Icon from './Icon'; +import Text from './atomic/ions/Text'; +import Icon from './atomic/ions/Icon'; import GalioTheme, { withGalio } from './theme'; function Card({ diff --git a/src/Checkbox.js b/src/Checkbox.js index db99967..57e4def 100644 --- a/src/Checkbox.js +++ b/src/Checkbox.js @@ -3,12 +3,12 @@ import React from 'react'; import { View, TouchableOpacity, StyleSheet, Image } from 'react-native'; import PropTypes from 'prop-types'; // galio dependency -import Icon from './Icon'; -import Text from './Text'; +import Icon from './atomic/ions/Icon'; +import Text from './atomic/ions/Text'; import GalioTheme, { withGalio } from './theme'; function Checkbox({ - checkboxStyle, + checkboxStyle, color, disabled, flexDirection, @@ -62,7 +62,6 @@ function Checkbox({ // adding the check icon function renderChecked() { - if (checked) { return ; } diff --git a/src/NavBar.js b/src/NavBar.js index afcd2f0..154ea6a 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -4,8 +4,8 @@ import PropTypes from 'prop-types'; // galio components import Block from './Block'; -import Text from './Text'; -import Icon from './Icon'; +import Text from './atomic/ions/Text'; +import Icon from './atomic/ions/Icon'; import GalioTheme, { withGalio } from './theme'; const { height } = Dimensions.get('screen'); @@ -47,12 +47,12 @@ function NavBar({ function renderLeft() { if (!hideLeft) { - if (leftIconName || back && !left) { + if (leftIconName || (back && !left)) { return ( onLeftPress && onLeftPress()} hitSlop={leftHitSlop}> { }, + onChange: () => {}, styles: {}, theme: GalioTheme, }; diff --git a/src/Toast.js b/src/Toast.js index 9358809..fc3b557 100644 --- a/src/Toast.js +++ b/src/Toast.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { Dimensions, StyleSheet, Animated, ViewPropTypes } from 'react-native'; import PropTypes from 'prop-types'; // galio components -import Text from './Text'; +import Text from './atomic/ions/Text'; import GalioTheme, { withGalio } from './theme'; const { height } = Dimensions.get('screen');