Add React editor project

This commit is contained in:
Rami Bitar
2026-08-09 16:00:10 -04:00
parent 909d99251a
commit 63ecc5e284
212 changed files with 20655 additions and 11571 deletions
@@ -0,0 +1,21 @@
import { ComponentConfig } from '@reacteditor/core';
import { MessageCircle } from 'lucide-react';
import StoreAssistant from '@/components/shopify/store-assistant';
export type StoreAssistantBlockProps = Record<string, never>;
/**
* The floating AI shopping assistant. It has no editable copy — its prompts and
* suggestions come from `/api/chat` — so it is registered purely so a page can
* choose whether to carry it.
*/
const storeAssistantEditor: ComponentConfig<StoreAssistantBlockProps> = {
label: 'Store assistant',
icon: <MessageCircle size={16} />,
category: 'content',
defaultProps: {},
fields: {},
render: () => <StoreAssistant />,
};
export default storeAssistantEditor;