blob: 2d5c9d1a6762aeeb5a9b874df0a568d3fae1c570 (
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-sky-600 disabled:bg-gray-400 disabled:cursor-not-allowed rounded-sm transition duration-300 hover:bg-sky-500 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"
/>
);
}
|