x
This commit is contained in:
1 parent
305b593698
commit
2a9dd8ddec
13 files changed
+1231
-4
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import type { ComponentType } from 'react';
|
||||
import type { CustomSectionPayload } from '@homaroma/types';
|
||||
import BakeryCategories from '../components/custom/BakeryCategories';
|
||||
|
||||
export type CustomBlockComponentProps = {
|
||||
props: CustomSectionPayload['props'];
|
||||
};
|
||||
|
||||
export type CustomBlockComponent = ComponentType<CustomBlockComponentProps>;
|
||||
|
||||
export const customRegistry: Record<string, CustomBlockComponent> = {
|
||||
BakeryCategories,
|
||||
};
|
||||
Reference in new issue
Block a user