import React from 'react';

interface Props {
  variant?: 'contained' | 'outlined'
  children: string;
}


const styles = {
  contained: "bg-black text-white",
  outlined: "border-2 border-black"
};

const Button: React.FC<Props> = ({ children, variant = 'contained' }) => {

  return (
    <button className={`p-4 m-3 font-bold tracking-wide hover:underline focus:outline-none ${styles[variant]}`}>
      {children}
    </button>
  );
};

export default Button;
