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 { LayoutTemplate } from "lucide-react";
import { Hero, type HeroProps } from "@/components/hero/hero";
import { frontendAiMediaAdapter } from "@/services/media-adapter";
export const heroEditor: ComponentConfig<HeroProps> = {
const heroEditor: ComponentConfig<HeroProps> = {
label: "Hero",
icon: <LayoutTemplate size={16} />,
category: "hero",
@@ -80,3 +80,5 @@ export const heroEditor: ComponentConfig<HeroProps> = {
},
render: (props) => <Hero {...props} />,
};
export default heroEditor;