mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 12:55:21 +08:00
chore: navigation-ex -> react-navigation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navigation-ex/native",
|
||||
"version": "0.0.1",
|
||||
"name": "@react-navigation/native",
|
||||
"version": "5.0.0-alpha.0",
|
||||
"license": "MIT",
|
||||
"main": "lib/commonjs/index.js",
|
||||
"react-native": "src/index.tsx",
|
||||
@@ -15,7 +15,7 @@
|
||||
"clean": "del lib"
|
||||
},
|
||||
"dependencies": {
|
||||
"@navigation-ex/core": "^0.0.1"
|
||||
"@react-navigation/core": "^5.0.0-alpha.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-native-community/bob": "^0.7.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as React from 'react';
|
||||
import { NavigationContainerRef } from '@navigation-ex/core';
|
||||
import { NavigationContainerRef } from '@react-navigation/core';
|
||||
import { BackHandler } from 'react-native';
|
||||
|
||||
export default function useBackButton(
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
NavigationContainerRef,
|
||||
NavigationState,
|
||||
PartialState,
|
||||
} from '@navigation-ex/core';
|
||||
} from '@react-navigation/core';
|
||||
|
||||
type Options = {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user