@@ -8,11 +8,9 @@ import {
88 PlatformColor ,
99 ViewStyle ,
1010 StyleProp ,
11- ViewPropTypes ,
1211} from "react-native" ;
1312import Modal from "./Modal" ;
1413import useTheme , { StyleBuilder } from "./useTheme" ;
15- import PropTypes from "prop-types" ;
1614import DialogTitle , { DialogTitleProps } from "./Title" ;
1715import DialogDescription , { DialogDescriptionProps } from "./Description" ;
1816import DialogButton , { DialogButtonProps } from "./Button" ;
@@ -136,21 +134,6 @@ const DialogContainer: React.FC<DialogContainerProps> = (props) => {
136134 ) ;
137135} ;
138136
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-
154137const buildStyles : StyleBuilder = ( ) =>
155138 StyleSheet . create ( {
156139 centeredView : {
0 commit comments