mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-31 05:51:47 +00:00
checkout new branch for touch events support
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Circle
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
ClipPath,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Ellipse
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
G,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Defs,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Image,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Line
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Path,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Polygon,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Polyline
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Rect
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Path,
|
||||
|
||||
@@ -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,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Symbol,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Text,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
} from 'react';
|
||||
|
||||
import Svg, {
|
||||
Defs,
|
||||
|
||||
+3
-2
@@ -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,
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user