mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
20 lines
557 B
TypeScript
20 lines
557 B
TypeScript
import { Dispatch, SetStateAction } from "react";
|
|
|
|
export function TanButton({
|
|
label,
|
|
onClick,
|
|
}: {
|
|
label: string;
|
|
onClick: Dispatch<SetStateAction<any>>;
|
|
}) {
|
|
// General tan colored button
|
|
return (
|
|
<button
|
|
type="button"
|
|
className="inline-flex justify-center rounded-md border border-transparent bg-brandtan px-4 py-2 text-sm font-medium text-white hover:bg-hovertan focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
|
|
onClick={onClick}
|
|
>
|
|
{label}
|
|
</button>
|
|
);
|
|
}
|