Initial commit

This commit is contained in:
Rami Bitar
2026-06-07 20:31:42 -04:00
commit 90f6635b08
82 changed files with 12645 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { ComponentConfig } from "@reacteditor/core";
import { LayoutTemplate } from "lucide-react";
import { Hero, type HeroProps } from "@/components/hero/hero";
const heroConfig: ComponentConfig<HeroProps> = {
label: "Hero",
icon: <LayoutTemplate size={16} />,
category: "hero",
defaultProps: {
title: "Enter title",
subtitle: "Enter your subtitle here...",
},
fields: {
title: { label: "Title", type: "text", contentEditable: true },
subtitle: { label: "Subtitle", type: "textarea", contentEditable: true },
},
render: (props) => <Hero {...props} />,
};
export default heroConfig;