Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: export Modal's types
  • Loading branch information
swashcap committed Jul 8, 2019
commit fccf4d20c515e2f81b30fba8953090efed182910
4 changes: 2 additions & 2 deletions Libraries/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ import type {SyntheticEvent} from '../Types/CoreEventTypes';
// destroyed before the callback is fired.
let uniqueModalIdentifier = 0;

type ModalOrientationChangeEvent = SyntheticEvent<
export type ModalOrientationChangeEvent = SyntheticEvent<
$ReadOnly<{|
orientation: 'portrait' | 'landscape',
|}>,
>;

type ModalProps = $ReadOnly<{|
export type ModalProps = $ReadOnly<{|
...ViewProps,

/**
Expand Down