Skip to content

Commit fa21b21

Browse files
committed
fix prop-types import
1 parent 4c09227 commit fa21b21

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

VolumeSlider.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import {
66
StyleSheet,
77
Image
88
} from 'react-native';
9-
import React, { Component, PropTypes } from 'react';
9+
import React, { Component } from 'react';
10+
import PropTypes from 'prop-types'
1011

1112
type Event = Object;
1213

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
"bugs": {
2121
"url": "https://github.com/IFours/react-native-volume-slider/issues"
2222
},
23-
"homepage": "https://github.com/IFours/react-native-volume-slider#readme"
23+
"homepage": "https://github.com/IFours/react-native-volume-slider#readme",
24+
"dependencies": {
25+
"prop-types": "15.6.0"
26+
}
2427
}

0 commit comments

Comments
 (0)