Releases: calvium/react-native-component-viewer
0.5.0: Merge pull request #21 from richardbarrell-calvium/proptypes-fix
This release makes react-native-component-viewer compatible with react-native 0.49.1
.
Unfortunately, the fix for that means it loses support for react-native older than 0.43.0
. For older versions of RN, please use version 0.4.0
or below of react-native-component-viewer
.
0.4.0: Render passed-in components. (#17)
You can now also pass in a component to be rendered instead of an already-rendered React element. If you pass in a component, it's passed closeThisTest
function as a prop, so you can use this to close component tests that open modals (see #14).
There is a little extra room at the bottom of the component tests screen so that the last component in the list won't get covered by the 'Close' button.
0.3.0: Better hot reloading (#16)
Support for hot-reloading in React Native. It's now possible to add extra tests with addComponentTest
or addSceneTest
, have these picked up by hot reloading, and immediately see them in the component tests list.