From 6f9368456ce977b80fd524991ce1b2e81f67f2b5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 28 Jun 2017 21:43:36 -0700 Subject: [PATCH 1/2] Stop using relative imports for ART --- src/CircularProgress.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CircularProgress.js b/src/CircularProgress.js index 61eb36f..1c80bed 100644 --- a/src/CircularProgress.js +++ b/src/CircularProgress.js @@ -1,6 +1,6 @@ import React, { PropTypes } from 'react'; -import { View, Platform } from 'react-native'; -import { Surface, Shape, Path, Group } from '../../react-native/Libraries/ART/ReactNativeART'; +import { View, Platform, ART } from 'react-native'; +const { Surface, Shape, Path, Group } = ART; import MetricsPath from 'art/metrics/path'; export default class CircularProgress extends React.Component { From ba59c4a221c850483a58bd0f79c5662d8b7540d0 Mon Sep 17 00:00:00 2001 From: Markus Lindqvist Date: Mon, 20 Nov 2017 13:12:23 +0200 Subject: [PATCH 2/2] Update CircularProgress.js --- src/CircularProgress.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CircularProgress.js b/src/CircularProgress.js index 412db83..c1d2165 100644 --- a/src/CircularProgress.js +++ b/src/CircularProgress.js @@ -1,7 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import React, { PropTypes } from 'react'; import { View, ViewPropTypes, Platform, ART } from 'react-native'; const { Surface, Shape, Path, Group } = ART; import MetricsPath from 'art/metrics/path';