checkout new branch for touch events support

This commit is contained in:
Horcrux
2016-05-14 09:52:14 +08:00
parent ddb317e485
commit 1f7a908406
19 changed files with 28 additions and 21 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Circle
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
ClipPath,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Ellipse
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
G,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Defs,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Image,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Line
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Path,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Polygon,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Polyline
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Rect
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Path,
+5 -2
View File
@@ -1,9 +1,12 @@
import React, {
Component,
import {
StyleSheet,
View
} from 'react-native';
import React, {
Component
} from 'react';
const styles = StyleSheet.create({
container: {
flex: 1,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Symbol,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Text,
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {
Component
} from 'react-native';
} from 'react';
import Svg, {
Defs,
+3 -2
View File
@@ -3,9 +3,8 @@
* https://github.com/facebook/react-native
*/
'use strict';
import React, {
import {
AppRegistry,
Component,
StyleSheet,
Text,
View,
@@ -16,6 +15,8 @@ import React, {
Easing
} from 'react-native';
import React, {Component} from 'react';
import {
Svg,
Circle,
+1 -1
View File
@@ -6,7 +6,7 @@
"start": "react-native start"
},
"dependencies": {
"react-native": "^0.24.0",
"react-native": "^0.25.1",
"react-native-svg": "../",
"react-native-root-modal": "^1.0.3",
"react": "^0.14.5"
+4 -1
View File
@@ -1,5 +1,5 @@
{
"version": "1.3.1",
"version": "2.0.0",
"name": "react-native-svg",
"description": "react native svg library",
"repository": {
@@ -20,6 +20,9 @@
"scripts": {
"lint": "eslint ./"
},
"peerDependencies": {
"react-native": ">=0.25.1"
},
"dependencies": {
"color": "^0.11.1",
"lodash": "^4.0.0"