diff --git a/src/block.tsx b/src/block.tsx index 09effe0..c7725d0 100644 --- a/src/block.tsx +++ b/src/block.tsx @@ -505,6 +505,7 @@ export const Block: React.FC = props => { return ( } level={level} > diff --git a/src/types.ts b/src/types.ts index 2157557..104c985 100644 --- a/src/types.ts +++ b/src/types.ts @@ -346,6 +346,7 @@ export type BlockValueProp = Extract; export interface CustomBlockComponentProps { renderComponent: () => JSX.Element | null; + blockMap: BlockMapType; blockValue: T extends BlockValueType ? BlockValueProp : BaseValueType; level: number; }