Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const goToAuth = () =>
- Navigation.setRoot({
- root: {
- bottomTabs: {
- children: [
- {
- stack: {
- children: [
- {
- component: {
- name: 'Login',
- options: {
- bottomTab: {
- text: 'Tab One',
- },
- topBar: {
- title: {
- text: 'Tab One',
- },
- },
- },
- },
- },
- {
- component: {
- name: 'Settings',
- options: {
- topBar: {
- title: {
- text: 'Tab Two',
- },
- },
- },
- },
- },
- ],
- options: {
- bottomTab: {
- text: 'Tab 1',
- },
- },
- },
- },
- {
- component: {
- name: 'PinCode',
- options: {
- bottomTab: {
- text: 'Tab 2',
- },
- },
- },
- },
- ],
- },
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement