import React from 'react';
import Button from '../Button';

const Footer = ({ label, onPress }: { label: string; onPress: () => void }) => (
  <Button variant="text" text={label} onPress={onPress} />
);

export default Footer;
