aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitButton.tsx
blob: 916c20f2d03e8419b786eb1bad498ad36e0b97ad (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"
		/>
	);
}