mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-10 13:18:48 +00:00
add edit button to edit the bio
This commit is contained in:
parent
23858b1374
commit
d7852067ff
4 changed files with 47 additions and 25 deletions
18
code/frontend/src/components/ButtonPrimary.tsx
Normal file
18
code/frontend/src/components/ButtonPrimary.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
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>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue