aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitButton.tsx
blob: acb66f6c4ee66e39132822cd2a87326d0306efa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import React from "react";

type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;

export default function SubmitButton(props: ButtonProps) {
  return (
    <button
      {...props}
      className="text-lg text-white px-4 py-2 bg-brand-600 disabled:bg-gray-400 disabled:cursor-not-allowed rounded-sm transition duration-300 hover:bg-brand-500 focus:ring-3 focus:ring-brand-400 focus:outline-hidden"
    />
  );
}