2020-12-26 23:05:17 +01:00
|
|
|
import React from 'react'
|
2022-12-03 15:50:15 +01:00
|
|
|
import { 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 }) => {
|
2022-12-03 15:50:15 +01:00
|
|
|
return (
|
|
|
|
<View
|
|
|
|
style={{
|
|
|
|
paddingHorizontal: StyleConstants.Spacing.Global.PagePadding,
|
|
|
|
marginBottom: StyleConstants.Spacing.Global.PagePadding
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</View>
|
|
|
|
)
|
2020-11-22 00:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export default MenuContainer
|