Skip to content

Commit 270ba00

Browse files
Fix yarn flow-check-ios
1 parent 9c3d40f commit 270ba00

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Libraries/Components/ScrollView/ScrollView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export type Props = $ReadOnly<{|
502502
/**
503503
* Reverses the direction of scroll. Uses native inversion on macOS and scale transforms of -1 elsewhere
504504
*/
505-
inverted?: ?boolean,
505+
inverted?: ?boolean, // TODO(macOS GH#774)
506506
/**
507507
* Determines whether the keyboard gets dismissed in response to a drag.
508508
*

Libraries/Components/View/ViewPropTypes.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type DirectEventProps = $ReadOnly<{|
7272

7373
/**
7474
* This event is fired when the scrollView's inverted property changes.
75+
* @platform macos
7576
*/
7677
onInvertedDidChange?: ?() => mixed, // TODO(macOS GH#774)
7778

@@ -419,6 +420,10 @@ type IOSViewProps = $ReadOnly<{|
419420
* See https://reactnative.dev/docs/view#accessibilityElementsHidden
420421
*/
421422
accessibilityElementsHidden?: ?boolean,
423+
/**
424+
* Reverses the direction of scroll. Uses native inversion on macOS and scale transforms of -1 elsewhere
425+
*/
426+
inverted?: ?boolean, // TODO(macOS GH#774)
422427

423428
onDoubleClick?: ?(event: SyntheticEvent<{}>) => mixed, // TODO(macOS GH#774)
424429

0 commit comments

Comments
 (0)