Skip to content

Commit

Permalink
🛠 Refactor: Cleanup ModalView
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Jan 9, 2023
1 parent 6e1822e commit 85b3a81
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/components/ModalView/ModalView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,6 @@ import {
//
//

const NATIVE_PROP_KEYS = {
// Modal Native Props: Event Callbacks
onRequestResult: 'onRequestResult',
onModalBlur: 'onModalBlur',
onModalFocus: 'onModalFocus',
onModalShow: 'onModalShow',
onModalDismiss: 'onModalDismiss',
onModalDidDismiss: 'onModalDidDismiss',
onModalWillDismiss: 'onModalWillDismiss',
onModalAttemptDismiss: 'onModalAttemptDismiss',

// Modal Native Props: Flags/Booleans
presentViaMount: 'presentViaMount',
isModalBGBlurred: 'isModalBGBlurred',
enableSwipeGesture: 'enableSwipeGesture',
hideNonVisibleModals: 'hideNonVisibleModals',
isModalBGTransparent: 'isModalBGTransparent',
isModalInPresentation: 'isModalInPresentation',

// Modal Native Props: Strings
modalID: 'modalID',
modalTransitionStyle: 'modalTransitionStyle',
modalPresentationStyle: 'modalPresentationStyle',
modalBGBlurEffectStyle: 'modalBGBlurEffectStyle',
};

const VirtualizedListContext = React.createContext(null);

// fix for react-native 0.60
Expand Down

0 comments on commit 85b3a81

Please sign in to comment.