@@ -8,11 +8,9 @@ import {
8
8
PlatformColor ,
9
9
ViewStyle ,
10
10
StyleProp ,
11
- ViewPropTypes ,
12
11
} from "react-native" ;
13
12
import Modal from "./Modal" ;
14
13
import useTheme , { StyleBuilder } from "./useTheme" ;
15
- import PropTypes from "prop-types" ;
16
14
import DialogTitle , { DialogTitleProps } from "./Title" ;
17
15
import DialogDescription , { DialogDescriptionProps } from "./Description" ;
18
16
import DialogButton , { DialogButtonProps } from "./Button" ;
@@ -136,21 +134,6 @@ const DialogContainer: React.FC<DialogContainerProps> = (props) => {
136
134
) ;
137
135
} ;
138
136
139
- DialogContainer . propTypes = {
140
- blurComponentIOS : PropTypes . node ,
141
- buttonSeparatorStyle : ViewPropTypes . style ,
142
- contentStyle : ViewPropTypes . style ,
143
- footerStyle : ViewPropTypes . style ,
144
- headerStyle : ViewPropTypes . style ,
145
- blurStyle : ViewPropTypes . style ,
146
- visible : PropTypes . bool ,
147
- verticalButtons : PropTypes . bool ,
148
- onBackdropPress : PropTypes . func ,
149
- keyboardVerticalOffset : PropTypes . number ,
150
- useNativeDriver : PropTypes . bool ,
151
- children : PropTypes . node . isRequired ,
152
- } ;
153
-
154
137
const buildStyles : StyleBuilder = ( ) =>
155
138
StyleSheet . create ( {
156
139
centeredView : {
0 commit comments