Skip to content

Commit

Permalink
💄 Gloss: Update Code Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Mar 3, 2023
1 parent 8c6756a commit 90fc11a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/context/ModalContext.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
import React from 'react';
import type { ModalView } from 'src/components/ModalView';

// prettier-ignore
export type ModalContextType = Partial<
// `ModalView` Methods #1
Pick<
ModalView,
| 'getEmitterRef'
| 'setVisibility'
| 'setEnableSwipeGesture'
| 'setIsModalInPresentation'
> & {
ModalView,
| 'getEmitterRef'
| 'setVisibility'
| 'setEnableSwipeGesture'
| 'setIsModalInPresentation'
>
// `ModalView` Methods #2
& {
getModalRef: ModalView['_handleGetModalRef'];
}
>;
Expand Down

0 comments on commit 90fc11a

Please sign in to comment.