In the docs from DrawerNavigatorItems
it have the following property:
items
- the array of routes, can be modified or overridden
It says you can modify the array.
How can I do that?
It doesn't explain what is an "array of routes". It's just strings? An object?
An example of what I want to do is get the full array and add an extra one at the end, something like
items: [...items, someNewItem]