-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #29744 from software-mansion-labs/ts-migra…
- Loading branch information
Showing
5 changed files
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const CustomDevMenu = () => {}; | ||
|
||
CustomDevMenu.displayName = 'CustomDevMenu'; | ||
|
||
export default CustomDevMenu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import {useEffect} from 'react'; | ||
import DevMenu from 'react-native-dev-menu'; | ||
import toggleTestToolsModal from '@userActions/TestTool'; | ||
|
||
function CustomDevMenu() { | ||
useEffect(() => { | ||
DevMenu.addItem('Open Test Preferences', toggleTestToolsModal); | ||
}, []); | ||
|
||
return null; | ||
} | ||
|
||
CustomDevMenu.displayName = 'CustomDevMenu'; | ||
|
||
export default CustomDevMenu; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.