Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const InitPage = ({navigator}) => {
let itemId = 0;
const androidIconSize = 18;
const iOSiconSize = 30;
return (
<menu title="Home">,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-paper-outline',
selectedIconName: 'ios-paper',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null,
badge: 8,
badgeColor: 'black'
},
{
id: itemId++,
title: 'News',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-time-outline',
selectedIconName: 'ios-time',
iconSize: iOSiconSize,</menu>
id: itemId++,
title: 'News',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-time-outline',
selectedIconName: 'ios-time',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},
{
id: itemId++,
title: 'Favorite',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-heart-outline',
selectedIconName: 'ios-heart',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},
{
id: itemId++,
title: 'Popular',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-star-outline',
selectedIconName: 'ios-star',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
}
id: itemId++,
title: 'Home',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-home-outline',
selectedIconName: 'ios-home',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null,
},
{
id: itemId++,
title: 'Projects',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'logo-github',
selectedIconName: 'logo-github',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},
{
id: itemId++,
title: 'About Me',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-person-outline',
selectedIconName: 'ios-person',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
}
const iOSiconSize = 30;
const navigator = this.props.navigator;
const userInfo = this.state.userInfo
return (
<menu title="SURMON.ME">,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-home-outline',
selectedIconName: 'ios-home',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null,
},
{
id: itemId++,
title: 'Projects',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'logo-github',
selectedIconName: 'logo-github',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},</menu>
title: 'Home',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-home-outline',
selectedIconName: 'ios-home',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null,
badgeColor: 'black'
},
{
id: itemId++,
title: 'Archive',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-archive-outline',
selectedIconName: 'ios-archive',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},
{
id: itemId++,
title: 'Projects',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-chatboxes-outline',
selectedIconName: 'ios-chatboxes',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null
},
const InitPage = ({navigator}) => {
let itemId = 0;
const androidIconSize = 18;
const iOSiconSize = 30;
return (
<menu title="SURMON.ME">,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-home-outline',
selectedIconName: 'ios-home',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null,
badgeColor: 'black'
},
{
id: itemId++,
title: 'Archive',
element: ,
androidIcon: ,
itemComponent: Ionicon.TabBarItem,
iconName: 'ios-archive-outline',
selectedIconName: 'ios-archive',
iconSize: iOSiconSize,
androidBackground: (TouchableNativeFeedback.Ripple) ? TouchableNativeFeedback.Ripple('grey', false) : null</menu>