import React from 'react';
import {View} from 'react-native';
import {useTheme} from '@shared/theme';

import {styles} from './styles';

interface Props {
  children: React.ReactNode;
}

export const Footer = ({children}: Props) => {
  const {theme} = useTheme();
  return (
    <View
      style={[
        styles.container,
        {backgroundColor: theme.background.elements.grey},
      ]}>
      {children}
    </View>
  );
};
