import type { ReactNode } from "react"; import { Link } from "react-router"; import type { PublicUser } from "../model.ts"; import { Avatar } from "./Avatar.tsx"; interface ProfileSubpageHeaderProps { username: string; profileUser: PublicUser; title: string; actions?: ReactNode; } export function ProfileSubpageHeader( { username, profileUser, title, actions }: ProfileSubpageHeaderProps, ) { return (