diff --git a/src/CountryModal.tsx b/src/CountryModal.tsx index 68a7e058..8e8c3896 100644 --- a/src/CountryModal.tsx +++ b/src/CountryModal.tsx @@ -13,8 +13,10 @@ const styles = StyleSheet.create({ export const CountryModal = ({ children, - withModal, - disableNativeModal, + withModal = true, + disableNativeModal = false, + animationType = 'slide', + animated = true, ...props }: ModalProps & { children: React.ReactNode @@ -44,10 +46,3 @@ export const CountryModal = ({ } return content } - -CountryModal.defaultProps = { - animationType: 'slide', - animated: true, - withModal: true, - disableNativeModal: false, -}