File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ SwipeListView.propTypes = {
563563 /**
564564 * Styles for the parent wrapper View of the SwipeRow
565565 */
566- swipeRowStyle : ViewPropTypes . style ,
566+ swipeRowStyle : ViewPropTypes ? ViewPropTypes . style : PropTypes . object ,
567567 /**
568568 * Called when the FlatList ref is set and passes a ref to the FlatList
569569 * e.g. listViewRef={ ref => this._swipeListViewRef = ref }
Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ SwipeRow.propTypes = {
824824 /**
825825 * Styles for the parent wrapper View of the SwipeRow
826826 */
827- style : ViewPropTypes . style ,
827+ style : ViewPropTypes ? ViewPropTypes . style : PropTypes . object ,
828828 /**
829829 * Should the row do a slide out preview to show that it is swipeable
830830 */
You can’t perform that action at this time.
0 commit comments