mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-08 13:38:47 +00:00
18 lines
332 B
TypeScript
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>
|
|
);
|
|
}
|