diff --git a/README.md b/README.md index fd513fdc2..72236c462 100644 --- a/README.md +++ b/README.md @@ -70,15 +70,15 @@ # NOTICE: -Due to breaking changes in react-native, the version given in the left column +Due to breaking changes in react-native, the version given in the left column (and higher versions) of react-native-svg only supports the react-native version in the right column (and higher versions, if possible). -It is recommended to use the version of react given in the peer dependencies +It is recommended to use the version of react given in the peer dependencies of the react-native version you are using. The latest version of react-native-svg should always work in a clean react-native project. - + | react-native-svg | react-native | |------------------|--------------| | 3.2.0 | 0.29 | @@ -181,7 +181,7 @@ react-native link ``` Make a reproduction of the problem in `App.js` - + ```bash react-native run-ios react-native run-android @@ -395,6 +395,27 @@ originY | 0 | Transform originY coordinates for the current obj ``` +You can cascade colors from the Svg element to its children: + +```html + + + + +``` + +![Pencil](https://raw.githubusercontent.com/react-native-community/react-native-svg/master/screenShoots/pencil.png) + ### Rect The element is used to create a rectangle and variations of a rectangle shape: diff --git a/screenShoots/pencil.png b/screenShoots/pencil.png new file mode 100644 index 000000000..7730a1b55 Binary files /dev/null and b/screenShoots/pencil.png differ