2020-12-26 23:05:17 +01:00
|
|
|
import React from 'react'
|
2020-11-24 00:18:47 +01:00
|
|
|
import { StyleSheet, View } from 'react-native'
|
2020-12-13 14:04:25 +01:00
|
|
|
import { StyleConstants } from '@utils/styles/constants'
|
2020-11-22 00:46:23 +01:00
|
|
|
|
2020-11-29 13:11:23 +01:00
|
|
|
export interface Props {
|
|
|
|
children: React.ReactNode
|
|
|
|
}
|
|
|
|
|
2020-12-03 01:28:56 +01:00
|
|
|
const MenuContainer: React.FC<Props> = ({ children }) => {
|
2021-05-09 21:59:03 +02:00
|
|
|
return <View style={styles.base}>{children}</View>
|
2020-11-22 00:46:23 +01:00
|
|
|
}
|
|
|
|
|
2020-11-24 00:18:47 +01:00
|
|
|
const styles = StyleSheet.create({
|
|
|
|
base: {
|
2021-05-09 21:59:03 +02:00
|
|
|
paddingHorizontal: StyleConstants.Spacing.Global.PagePadding,
|
|
|
|
marginBottom: StyleConstants.Spacing.Global.PagePadding
|
2020-11-24 00:18:47 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2020-11-22 00:46:23 +01:00
|
|
|
export default MenuContainer
|