mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
fix: add title to navigator route
This commit is contained in:
@@ -11,8 +11,8 @@ export function createRoute(key, component, props = {}, params = {}) {
|
||||
};
|
||||
}
|
||||
|
||||
export function createNavigatorRoute(key, icon, navigator) {
|
||||
return createRoute(key, NavigationContainer, { icon }, { navigator });
|
||||
export function createNavigatorRoute(key, icon, title, navigator) {
|
||||
return createRoute(key, NavigationContainer, { icon, title }, { navigator });
|
||||
}
|
||||
|
||||
export function createNormalRoute(key, component, icon, props = {}) {
|
||||
|
||||
Reference in New Issue
Block a user