use default exports and not named exports
This commit is contained in:
@@ -2,7 +2,7 @@ import { ComponentConfig } from "@reacteditor/core";
|
||||
import { Sparkles } from "lucide-react";
|
||||
import { Features, type FeaturesProps } from "@/components/features/features";
|
||||
|
||||
export const featuresEditor: ComponentConfig<FeaturesProps> = {
|
||||
const featuresEditor: ComponentConfig<FeaturesProps> = {
|
||||
label: "Features",
|
||||
icon: <Sparkles size={16} />,
|
||||
category: "content",
|
||||
@@ -52,3 +52,5 @@ export const featuresEditor: ComponentConfig<FeaturesProps> = {
|
||||
},
|
||||
render: (props) => <Features {...props} />,
|
||||
};
|
||||
|
||||
export default featuresEditor;
|
||||
|
||||
Reference in New Issue
Block a user