88 ListView ,
99 ActivityIndicator ,
1010} from 'react-native' ;
11+ import PropTypes from 'prop-types' ;
12+
1113import ImageItem from './ImageItem' ;
1214
1315class CameraRollPicker extends Component {
@@ -244,11 +246,11 @@ const styles = StyleSheet.create({
244246} )
245247
246248CameraRollPicker . propTypes = {
247- scrollRenderAheadDistance : React . PropTypes . number ,
248- initialListSize : React . PropTypes . number ,
249- pageSize : React . PropTypes . number ,
250- removeClippedSubviews : React . PropTypes . bool ,
251- groupTypes : React . PropTypes . oneOf ( [
249+ scrollRenderAheadDistance : PropTypes . number ,
250+ initialListSize : PropTypes . number ,
251+ pageSize : PropTypes . number ,
252+ removeClippedSubviews : PropTypes . bool ,
253+ groupTypes : PropTypes . oneOf ( [
252254 'Album' ,
253255 'All' ,
254256 'Event' ,
@@ -257,21 +259,21 @@ CameraRollPicker.propTypes = {
257259 'PhotoStream' ,
258260 'SavedPhotos' ,
259261 ] ) ,
260- maximum : React . PropTypes . number ,
261- assetType : React . PropTypes . oneOf ( [
262+ maximum : PropTypes . number ,
263+ assetType : PropTypes . oneOf ( [
262264 'Photos' ,
263265 'Videos' ,
264266 'All' ,
265267 ] ) ,
266- selectSingleItem : React . PropTypes . bool ,
267- imagesPerRow : React . PropTypes . number ,
268- imageMargin : React . PropTypes . number ,
269- containerWidth : React . PropTypes . number ,
270- callback : React . PropTypes . func ,
271- selected : React . PropTypes . array ,
272- selectedMarker : React . PropTypes . element ,
273- backgroundColor : React . PropTypes . string ,
274- emptyText : React . PropTypes . string ,
268+ selectSingleItem : PropTypes . bool ,
269+ imagesPerRow : PropTypes . number ,
270+ imageMargin : PropTypes . number ,
271+ containerWidth : PropTypes . number ,
272+ callback : PropTypes . func ,
273+ selected : PropTypes . array ,
274+ selectedMarker : PropTypes . element ,
275+ backgroundColor : PropTypes . string ,
276+ emptyText : PropTypes . string ,
275277 emptyTextStyle : Text . propTypes . style ,
276278}
277279
0 commit comments