import { Field, FormActions, FormShell, GhostLink, PageHeader, PrimaryButton, Select, Textarea, } from "@/components/admin/form"; import { saveBlogPost } from "@/lib/admin-actions"; import type { BlogPostRow } from "@/lib/types"; import { Save } from "lucide-react"; export function BlogForm({ post }: { post?: BlogPostRow }) { return (
{post && }