Side Menu

It will get the routing from the drawer function

Menu item

We need to loop through the routing array to get the active screen and inactive screen.

var sideItemList = => {
return (
<View key={route.key} style={styles.sideItemContainer}>
style={activeKey === route.key ? styles.sideItemTextActive : styles.sideItemTextInactive}

As you see, the appropriate styling will be apply on their own stylesheet.