Skip to content

Commit

Permalink
Merge pull request #21 from richardbarrell-calvium/proptypes-fix
Browse files Browse the repository at this point in the history
Fix PropTypes import
  • Loading branch information
richardbarrell-calvium authored Oct 5, 2017
2 parents 0590959 + a49b087 commit cad813e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Especially useful for accessing screens that are hard to get to, or for testing

![animated gif](docs/Demo.gif)

Requires react-native >= 0.43.0. For older versions of RN, please use version 0.4.0 or below.

# Installation

This is a pure JavaScript library, so there's no need to run `react-native link` or manually add any frameworks or libraries.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-component-viewer",
"version": "0.4.0",
"version": "0.5.0",
"description": "A searchable list of components or scenes in your app. Handy for tweaking layout or design without using the app",
"main": "index.js",
"scripts": {},
Expand Down
3 changes: 2 additions & 1 deletion src/DebugSceneList.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {Component, PropTypes} from 'react';
import React, {Component} from 'react';
import PropTypes from 'prop-types';

import {View, StyleSheet, Text, TouchableHighlight, ScrollView, AsyncStorage} from 'react-native';
import {getTests, getTest, addUpdateListener, removeUpdateListener} from './TestRegistry';
Expand Down
3 changes: 2 additions & 1 deletion src/SearchableList.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {Component, PropTypes} from 'react';
import React, {Component} from 'react';
import PropTypes from 'prop-types';

import {View, StyleSheet, Text, ListView, TextInput, TouchableHighlight, Platform} from 'react-native';

Expand Down

0 comments on commit cad813e

Please sign in to comment.