Skip to content

Commit 8a1e467

Browse files
committed
fix how we import Constants after refactor
1 parent 9648053 commit 8a1e467

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/components/connectionStatusBar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import _ from 'lodash';
44
import {StyleSheet, Text, NetInfo} from 'react-native';
5-
import * as Constants from '../../helpers/Constants';
5+
import {Constants} from '../../helpers';
66
import {PureBaseComponent} from '../../commons';
77
import {Colors, Typography} from '../../style';
88
import TouchableOpacity from '../touchableOpacity';

src/components/stepper/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {StyleSheet, PixelRatio} from 'react-native';
2-
import * as Constants from '../../helpers/Constants';
2+
import {Constants} from '../../helpers';
33
import {Colors, Typography, ThemeManager} from '../../style';
44

55
export default function createStyles() {

src/components/tagsInput/__tests__/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import _ from 'lodash';
2-
import * as Constants from '../../../helpers/Constants';
2+
import {Constants} from '../../../helpers';
33
import TagsInput from '../index';
44

55
describe('TagsInput', () => {

src/components/view/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
22
import React, {PureComponent} from 'react';
33
import {View as RNView, ViewPropTypes, SafeAreaView, Animated} from 'react-native';
44
import {asBaseComponent, forwardRef} from '../../commons';
5-
import * as Constants from '../../helpers/Constants';
5+
import {Constants} from '../../helpers';
66

77
/**
88
* @description: Wrapper component for React Native View component

src/screensComponents/loaderScreen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from 'react';
44
import {StyleSheet, ActivityIndicator} from 'react-native';
55
import {View as AnimatableView} from 'react-native-animatable';
66
import {Colors, Typography, ThemeManager} from '../../style';
7-
import * as Constants from '../../helpers/Constants';
7+
import {Constants} from '../../helpers';
88
import {BaseComponent} from '../../commons';
99
import Text from '../../components/text';
1010
import View from '../../components/view';

src/screensComponents/stateScreen/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import _ from 'lodash';
22
import PropTypes from 'prop-types';
33
import React from 'react';
44
import {StyleSheet} from 'react-native';
5-
import * as Constants from '../../helpers/Constants';
5+
import {Constants} from '../../helpers';
66
import {Typography, ThemeManager} from '../../style';
77
import {BaseComponent} from '../../commons';
88
import View from '../../components/view';

0 commit comments

Comments
 (0)