diff --git a/index.android.js b/index.android.js index 2a40bc1..6a70c62 100644 --- a/index.android.js +++ b/index.android.js @@ -12,7 +12,7 @@ const convertPoint = (name, point) => { ); } if (point !== null && typeof point === 'object') { - return Object.values(point); + return [point.x, point.y]; } return point; }; diff --git a/package.json b/package.json index 418f17d..166727d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-linear-gradient", - "version": "1.6.1", + "version": "1.6.2", "description": "A element for react-native", "main": "index", "author": {