change Example dependency

change Example dependency from art-svg to svg
This commit is contained in:
Horcrux
2016-04-22 09:25:50 +08:00
parent 374d961191
commit 07032af92a
17 changed files with 17 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Circle
} from 'react-native-art-svg';
} from 'react-native-svg';
class CircleExample extends Component{
static title = 'Circle';

View File

@@ -13,7 +13,7 @@ import Svg, {
G,
Polygon,
Circle
} from 'react-native-art-svg';
} from 'react-native-svg';
class ClipPathAttr extends Component{
static title = 'Clip by set clip-path with a path data';

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Ellipse
} from 'react-native-art-svg';
} from 'react-native-svg';
class EllipseExample extends Component{
static title = 'Ellipse';

View File

@@ -8,7 +8,7 @@ import Svg, {
Line,
Rect,
Text
} from 'react-native-art-svg';
} from 'react-native-svg';
class GExample extends Component{
static title = 'G children props inherit';

View File

@@ -11,7 +11,7 @@ import Svg, {
Circle,
Text,
Rect
} from 'react-native-art-svg';
} from 'react-native-svg';
class LinearGradientHorizontal extends Component{
static title = 'Define an ellipse with a horizontal linear gradient from yellow to red';

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Line
} from 'react-native-art-svg';
} from 'react-native-svg';
class LineExample extends Component{
static title = 'Line';

View File

@@ -7,7 +7,7 @@ import Svg, {
G,
Circle,
Text
} from 'react-native-art-svg';
} from 'react-native-svg';
class PathExample extends Component{
static title = 'Path';

View File

@@ -5,7 +5,7 @@ import React, {
import Svg, {
Polygon,
G
} from 'react-native-art-svg';
} from 'react-native-svg';
class PolygonExample extends Component{
static title = 'The following example creates a polygon with three sides';

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Polyline
} from 'react-native-art-svg';
} from 'react-native-svg';
class PolylineExample extends Component{
static title = 'The <Polyline> element is used to create any shape that consists of only straight lines';

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Rect
} from 'react-native-art-svg';
} from 'react-native-svg';
class RectExample extends Component{
static title = 'Rect';

View File

@@ -5,7 +5,7 @@ import React, {
import Svg, {
Path,
G
} from 'react-native-art-svg';
} from 'react-native-svg';
class StrokeExample extends Component{
static title = 'The stroke property defines the color of a line, text or outline of an element';

View File

@@ -6,7 +6,7 @@ import Svg, {
Circle,
Rect,
Path
} from 'react-native-art-svg';
} from 'react-native-svg';
class SvgExample extends Component{
static title = 'SVG';

View File

@@ -6,7 +6,7 @@ import Svg, {
Symbol,
Circle,
Use
} from 'react-native-art-svg';
} from 'react-native-svg';
class SymbolExample extends Component{
static title = 'Symbol example';

View File

@@ -4,7 +4,7 @@ import React, {
import Svg, {
Text
} from 'react-native-art-svg';
} from 'react-native-svg';
class TextExample extends Component{
static title = 'Text';

View File

@@ -9,7 +9,7 @@ import Svg, {
Rect,
Circle,
Polyline
} from 'react-native-art-svg';
} from 'react-native-svg';
class UseExample extends Component{
static title = 'Reuse svg code';

View File

@@ -21,7 +21,7 @@ import {
Svg,
Circle,
Line
} from 'react-native-art-svg';
} from 'react-native-svg';
import * as examples from './examples';
import Modal from 'react-native-root-modal';
const hairline = StyleSheet.hairlineWidth;

View File

@@ -7,7 +7,7 @@
},
"dependencies": {
"react-native": "^0.18.1",
"react-native-art-svg": "../",
"react-native-svg": "../",
"react-native-root-modal": "^1.0.3"
}
}