File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
react-native/Libraries/Components/View
rn-tester/js/examples/Cursor Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,14 @@ component View(
157157 text : ariaValueText ?? accessibilityValue ?. text ,
158158 } ;
159159 }
160+ // [macOS
161+ if ( otherProps . onKeyDown ) {
162+ processedProps . onKeyDown = _onKeyDown ;
163+ }
164+ if ( otherProps . onKeyUp ) {
165+ processedProps . onKeyUp = _onKeyUp ;
166+ }
167+ // macOS]
160168
161169 const actualView =
162170 ref == null ? (
Original file line number Diff line number Diff line change 88 * @format
99 */
1010
11- import type { CursorValue } from 'react-native/Libraries/StyleSheet/StyleSheetTypes' ;
1211import type { RNTesterModuleExample } from '../../types/RNTesterTypes' ;
12+ import type { CursorValue } from 'react-native/Libraries/StyleSheet/StyleSheetTypes' ;
1313
1414import * as React from 'react' ;
1515import { StyleSheet , Text , View } from 'react-native' ;
You can’t perform that action at this time.
0 commit comments