This repository was archived by the owner on Mar 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-19
lines changed
Expand file tree Collapse file tree 3 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3- import React from 'react-native ' ;
3+ import React , { Component , PropTypes } from 'react' ;
44import { screenSize } from '../lib/ScreenSize' ;
55import { isHidden , getComponentWidth , getComponentOffset } from '../lib/helpers' ;
6-
7- var {
8- Component,
9- PropTypes,
10- View,
11- } = React ;
6+ import { View } from 'react-native' ;
127
138export default class Column extends Component {
149 render ( ) {
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- import React from 'react-native ' ;
3+ import React , { Component , PropTypes } from 'react' ;
44import { screenSize } from '../lib/ScreenSize' ;
55import { isHidden } from '../lib/helpers' ;
6-
7- var {
8- Component,
9- PropTypes,
10- View,
11- } = React ;
6+ import { View } from 'react-native' ;
127
138export default class Row extends Component {
149 constructor ( props ) {
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- import React from 'react-native' ;
4-
5- var {
6- Dimensions
7- } = React ;
3+ import React from 'react' ;
4+ import { Dimensions } from 'react-native' ;
85
96function setScreenSize ( ) {
107 const SCREEN_WIDTH = Dimensions . get ( 'window' ) . width ;
You can’t perform that action at this time.
0 commit comments