File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import React , { Component , PropTypes } from 'react'
1+ import React , { Component } from 'react'
2+ import PropTypes from "prop-types"
23import {
34 ViewPropTypes ,
45 StyleSheet ,
Original file line number Diff line number Diff line change 77 "test" : " jest"
88 },
99 "dependencies" : {
10+ "prop-types" : " ^15.5.10" ,
1011 "react" : " 16.0.0-alpha.12" ,
1112 "react-native" : " 0.46.4"
1213 },
Original file line number Diff line number Diff line change 1- import React , { Component , PropTypes } from 'react'
1+ import React , { Component } from 'react'
2+ import PropTypes from "prop-types"
23import {
34 ViewPropTypes ,
45 StyleSheet ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-switch-pro" ,
3- "version" : " 0.4.5 " ,
3+ "version" : " 0.4.6 " ,
44 "description" : " an universal switcher for andriod and iOS" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
1010 "type" : " git" ,
1111 "url" : " git+https://github.com/poberwong/react-native-switch-pro.git"
1212 },
13+ "dependencies" : {
14+ "prop-types" : " ^15.5.10"
15+ },
1316 "keywords" : [
1417 " switch" ,
1518 " universal" ,
You can’t perform that action at this time.
0 commit comments