mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-21 06:15:15 +00:00
Merge branch 'master' into 6.0.0
# Conflicts: # elements/TextPath.js # package.json
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
- react-native-svg >= 5.2.0 only supports react-native >= 0.45.0 and react == 16.0.0-alpha.12
|
||||
- react-native-svg >= 5.3.0 only supports react-native >= 0.46.0 and react == 16.0.0-alpha.12
|
||||
- react-native-svg >= 5.4.1 only supports react-native >= 0.47.0 and react == 16.0.0-alpha.12
|
||||
- react-native-svg >= 5.5.0 only supports react-native >= 0.50.0 and react == 16.0.0
|
||||
- react-native-svg >= 5.5.1 only supports react-native >= 0.50.0 and react == 16.0.0
|
||||
|
||||
2. Link native code
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shims/createReactNativeComponentClass';
|
||||
|
||||
import createReactNativeComponentClass from '../lib/createReactNativeComponentClass';
|
||||
import {TextPathAttributes} from '../lib/attributes';
|
||||
import extractText from '../lib/extract/extractText';
|
||||
import Shape from './Shape';
|
||||
|
||||
@@ -3,4 +3,4 @@ import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shi
|
||||
export default (uiViewClassName, getViewConfig) =>
|
||||
createReactNativeComponentClass.length >= 2
|
||||
? createReactNativeComponentClass(uiViewClassName, getViewConfig)
|
||||
: createReactNativeComponentClass(getViewConfig)
|
||||
: createReactNativeComponentClass(getViewConfig())
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "6.0.0-rc12",
|
||||
"version": "6.0.0-rc13",
|
||||
"name": "react-native-svg",
|
||||
"description": "SVG library for react-native",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user