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 { 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;