We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d289d8f commit ff3802dCopy full SHA for ff3802d
Libraries/Components/AccessibilityInfo/AccessibilityInfo.flow.js
@@ -85,6 +85,16 @@ export interface AccessibilityInfo {
85
*/
86
isReduceMotionEnabled: () => Promise<boolean>;
87
88
+ /**
89
+ * Query whether reduce motion and prefer cross-fade transitions settings are currently enabled.
90
+ *
91
+ * Returns a promise which resolves to a boolean.
92
+ * The result is `true` when prefer cross-fade transitions is enabled and `false` otherwise.
93
94
+ * See https://reactnative.dev/docs/accessibilityinfo#prefersCrossFadeTransitions
95
+ */
96
+ prefersCrossFadeTransitions(): Promise<boolean>;
97
+
98
/**
99
* Query whether reduced transparency is currently enabled.
100
*
0 commit comments