VogelSocialMedia/code/frontend/src/components/ButtonPrimary.tsx
2025-06-25 14:31:38 +02:00

18 lines
332 B
TypeScript

import "./buttonPrimary.css";
interface ButtonPrimaryProps {
value: string;
onClick?: () => void;
}
export default function ButtonPrimary({ value, onClick }: ButtonPrimaryProps) {
return (
<button
type="submit"
className="login-button body-m"
onClick={onClick}
>
{value}
</button>
);
}