use default exports and not named exports
This commit is contained in:
@@ -4,7 +4,7 @@ import { Megaphone } from "lucide-react";
|
||||
import { CTA, type CTAProps } from "@/components/cta/cta";
|
||||
import { frontendAiMediaAdapter } from "@/services/media-adapter";
|
||||
|
||||
export const ctaEditor: ComponentConfig<CTAProps> = {
|
||||
const ctaEditor: ComponentConfig<CTAProps> = {
|
||||
label: "Call to action",
|
||||
icon: <Megaphone size={16} />,
|
||||
category: "content",
|
||||
@@ -51,3 +51,5 @@ export const ctaEditor: ComponentConfig<CTAProps> = {
|
||||
},
|
||||
render: (props) => <CTA {...props} />,
|
||||
};
|
||||
|
||||
export default ctaEditor;
|
||||
|
||||
Reference in New Issue
Block a user