Files
AM_CMS_Summative/app/(auth)/login/SigninButton.tsx
T
2026-11-06 10:02:29 +00:00

24 lines
484 B
TypeScript

export default function SigninButton({
text,
style,
callback,
formAction
}: {
text: string;
style: string;
callback?: () => void;
formAction?: any;
}) {
return (
<div className="form-control mt-6">
<button
type="submit"
formAction={formAction}
className={style}
onClick={callback}
>
{text}
</button>
</div>
);
};