diff --git a/src/components/admin/ImageField.astro b/src/components/admin/ImageField.astro new file mode 100644 index 0000000..781eb2a --- /dev/null +++ b/src/components/admin/ImageField.astro @@ -0,0 +1,28 @@ +--- +interface Props { + name: string; + label: string; + value?: string | null; + scope: "settings" | "cases" | "posts"; + id?: string; +} + +const { name, label, value = "", scope, id = name } = Astro.props; +--- + +