react-native-root-siblings
Advanced tools
Comparing version 2.2.0 to 3.0.0
@@ -8,6 +8,2 @@ import React, { Component, cloneElement } from 'react'; | ||
flex: 1 | ||
}, | ||
offStream: { | ||
position: 'absolute' | ||
} | ||
@@ -67,3 +63,2 @@ }); | ||
this._updatedSiblings = {}; | ||
return ( | ||
@@ -86,5 +81,3 @@ <View style={styles.container}> | ||
triggers.forEach(function (trigger) { | ||
trigger(id, cloneElement(element, { | ||
style: [element.props.style, styles.offStream] | ||
}), callback); | ||
trigger(id, element, callback); | ||
}); | ||
@@ -91,0 +84,0 @@ }; |
{ | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"name": "react-native-root-siblings", | ||
@@ -4,0 +4,0 @@ "repository": { |
@@ -8,2 +8,6 @@ ### react-native-root-siblings | ||
# BREAKING CHANGE | ||
From 3.0 the default style has been removed from the element. | ||
https://github.com/magicismight/react-native-root-siblings/commit/75b1f65502f41a5ecad0d17fd8d6ebb400365928 | ||
### Add it to your project | ||
@@ -10,0 +14,0 @@ |
8356
151
6
80