import { Button, ButtonProps, mergeClasses } from '@expo/styleguide';

export const HomeButton = ({ children, style, href, className, ...rest }: ButtonProps) => (
  <Button
    {...rest}
    href={href}
    openInNewTab={href?.startsWith('http')}
    className={mergeClasses('h-9 px-3.5 absolute bottom-7 z-10', className)}>
    {children}
  </Button>
);
