Files
Adv-WebDev-26-27-W4-part2/app/(auth)/login/SigninButton.tsx
T
2026-10-04 14:28:26 +01:00

27 lines
417 B
TypeScript

const 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>
);
};
export default SigninButton;