use default exports and not named exports

This commit is contained in:
Rami Bitar
2026-06-03 23:17:00 -04:00
parent a539753aa5
commit 7f86072636
21 changed files with 96 additions and 102 deletions

View File

@@ -4,7 +4,7 @@ import { Images } from "lucide-react";
import { ImageGallery, type ImageGalleryProps } from "@/components/landing/image-gallery";
import { frontendAiMediaAdapter } from "@/services/media-adapter";
export const imageGalleryEditor: ComponentConfig<ImageGalleryProps> = {
const imageGalleryEditor: ComponentConfig<ImageGalleryProps> = {
label: "Image gallery",
icon: <Images size={16} />,
category: "content",
@@ -48,3 +48,5 @@ export const imageGalleryEditor: ComponentConfig<ImageGalleryProps> = {
},
render: (props) => <ImageGallery {...props} />,
};
export default imageGalleryEditor;