Skip to content

Commit

Permalink
minor issues & todos
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Feb 2, 2023
1 parent a732a00 commit 2706a54
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import {NavioScreen} from './types';
export {Navio};
export type {NavioScreen};

// todos
// TODO There is a problem when there are more than 2 drawers or 2 tabs, then .jumpTo() won't help with autocompletion.
// TODO BottomTabNavigatorProps and DrawerNavigatorProps are missing from react-navigation exports. Type `any` is currently used.
// 0.0.2 todos
// [ ] test on more use cases
// [ ] make better Navio section in the app
// [ ] prepare docs

// minor issues
// TODO [ISSUE][TS] When there are more than 2 drawers or 2 tabs, then `.jumpTo()` won't help with autocompletion.
// TODO [ISSUE][TS] `BottomTabNavigatorProps` and `DrawerNavigatorProps` are missing from react-navigation exports. Type `any` is currently used.
// TODO [ISSUE][TS] `RootName` is `string` when one of [stacks, tabs, drawers] is not defined. Fix: just initialise them as empty object {stacks: {}, tabs: {}, drawers: {}}

0 comments on commit 2706a54

Please sign in to comment.