Skip to content

Commit ab14261

Browse files
authored
chore: Add focusable to macOS view config (#2638)
## Summary: Fix a couple of static view config validation warnings by adding `focusable` to the macOS view config. ## Test Plan: Less warnings in RNTester when I launch it.
1 parent d38ba46 commit ab14261

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native/Libraries/NativeComponent/BaseViewConfig.macos.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const validAttributesForNonEventProps = {
5252
cursor: true,
5353
draggedTypes: true,
5454
enableFocusRing: true,
55+
focusable: true,
5556
tooltip: true,
5657
keyDownEvents: true,
5758
keyUpEvents: true,

0 commit comments

Comments
 (0)