Prettify misc files

This commit is contained in:
Sofiya Tepikin
2022-08-23 12:58:32 +02:00
parent 1b8fd97d16
commit ac7a36925f
8 changed files with 69 additions and 67 deletions
+8 -8
View File
@@ -7,11 +7,11 @@ import { Containers } from '../../styles'
import { pages } from '../pages'
const Menu = () => {
const menuItems = pages.filter(page => page.isInMenu)
const menuItems = pages.filter((page) => page.isInMenu)
return (
<View style={styles.container}>
{ menuItems.map(({ icon, label, component }) => {
{menuItems.map(({ icon, label, component }) => {
return (
<MenuItem
component={component}
@@ -19,17 +19,17 @@ const Menu = () => {
key={label}
label={label}
/>
)}
)}
</View >
)
})}
</View>
)
}
const styles = StyleSheet.create({
container: {
backgroundColor: 'white',
...Containers.rowContainer
}
...Containers.rowContainer,
},
})
export default Menu
export default Menu