Files
react-editor-nextjs/editor.config.tsx
2026-06-07 20:31:42 -04:00

24 lines
450 B
TypeScript

import { Config } from "@reacteditor/core";
import heroConfig from "@/components/hero/hero.config";
import { HeroProps } from "@/components/hero/hero";
const categories = {
hero: { title: "Hero" },
};
export type Components = {
hero: HeroProps;
};
export type UserConfig = Config<{
components: Components;
categories: ["hero"];
}>;
export const appConfig: UserConfig = {
categories,
components: {
hero: heroConfig,
} as any,
};