Skip to content

Commit

Permalink
⭐️ Impl: Types - Add UIModalTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Jan 5, 2023
1 parent eea371a commit 26193f7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ export * from './ModalView';
export * from './ModalViewModule';
export * from './constants/Enums';
export * from './context/ModalContext';
export * from './hoc/withModalLifecycle';
export * from './hoc/withModalLifecycle';export * from './types/UIModalTypes';

//
19 changes: 19 additions & 0 deletions src/types/UIModalTypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export type UIModalTransitionStyle =
| 'coverVertical'
| 'flipHorizontal'
| 'crossDissolve'
| 'partialCurl';

export type UIModalPresentationStyle =
| 'automatic'
| 'none'
| 'fullScreen'
| 'pageSheet'
| 'formSheet'
| 'currentContext'
| 'custom'
| 'overFullScreen'
| 'overCurrentContext'
| 'popover'
| 'blurOverFullScreen';

0 comments on commit 26193f7

Please sign in to comment.