use default exports and not named exports
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user