15 lines
441 B
TypeScript
15 lines
441 B
TypeScript
import type { ComponentType } from 'react'
|
|
import type { CustomSectionPayload } from '@homaroma/types'
|
|
import BakeryCategories from '../components/custom/BakeryCategories'
|
|
|
|
export type CustomBlockComponentProps = {
|
|
props: CustomSectionPayload['props']
|
|
lang: string
|
|
}
|
|
|
|
export type CustomBlockComponent = ComponentType<CustomBlockComponentProps>
|
|
|
|
export const customRegistry: Record<string, CustomBlockComponent> = {
|
|
BakeryCategories,
|
|
}
|