import Link from "next/link"; import { ArrowLeft } from "lucide-react"; export function PageHeader({ title, description, backHref, action, }: { title: string; description?: string; backHref?: string; action?: React.ReactNode; }) { return (
{backHref && ( Geri )}

{title}

{description && (

{description}

)}
{action}
); } export function Field({ label, name, type = "text", defaultValue, placeholder, required, help, }: { label: string; name: string; type?: string; defaultValue?: string | number | null; placeholder?: string; required?: boolean; help?: string; }) { return ( ); } export function Textarea({ label, name, defaultValue, rows = 4, placeholder, required, help, }: { label: string; name: string; defaultValue?: string | null; rows?: number; placeholder?: string; required?: boolean; help?: string; }) { return (