@@ -13,6 +13,7 @@ export default class CustomDatePickerIOS extends Component {
1313 customConfirmButtonIOS : PropTypes . node ,
1414 customConfirmButtonWhileInteractingIOS : PropTypes . node ,
1515 customTitleContainerIOS : PropTypes . node ,
16+ contentContainerStyleIOS : PropTypes . any ,
1617 datePickerContainerStyleIOS : PropTypes . any ,
1718 date : PropTypes . instanceOf ( Date ) ,
1819 mode : PropTypes . oneOf ( [ 'date' , 'time' , 'datetime' ] ) ,
@@ -77,6 +78,7 @@ export default class CustomDatePickerIOS extends Component {
7778 customCancelButtonIOS,
7879 customConfirmButtonIOS,
7980 customConfirmButtonWhileInteractingIOS,
81+ contentContainerStyleIOS,
8082 customTitleContainerIOS,
8183 datePickerContainerStyleIOS,
8284 date,
@@ -111,7 +113,7 @@ export default class CustomDatePickerIOS extends Component {
111113 return (
112114 < ReactNativeModal
113115 isVisible = { isVisible }
114- style = { styles . contentContainer }
116+ style = { [ styles . contentContainer , contentContainerStyleIOS ] } >
115117 onModalHide={ this . _handleOnModalHide }
116118 >
117119 < View style = { [ styles . datepickerContainer , datePickerContainerStyleIOS ] } >
0 commit comments