storyblok-rich-text-react-renderer
Advanced tools
Comparing version 2.6.0 to 2.6.1
declare module "storyblok-rich-text-react-renderer" { | ||
import { ReactNode } from "react"; | ||
type StoryblokRichtextContentType = | ||
export type StoryblokRichtextContentType = | ||
| "heading" | ||
@@ -17,3 +17,3 @@ | "code_block" | ||
type StoryblokRichtextMark = | ||
export type StoryblokRichtextMark = | ||
| "bold" | ||
@@ -27,3 +27,3 @@ | "italic" | ||
type StoryblokRichtextContent = { | ||
export type StoryblokRichtextContent = { | ||
type: StoryblokRichtextContentType; | ||
@@ -56,3 +56,3 @@ attrs?: { | ||
type StoryblokRichtext = { | ||
export type StoryblokRichtext = { | ||
type: "doc"; | ||
@@ -87,3 +87,3 @@ content: StoryblokRichtextContent[]; | ||
name: string, | ||
props: Record<string, unknown> | ||
props: Record<string, unknown> & { _uid: string } | ||
) => JSX.Element | null; | ||
@@ -90,0 +90,0 @@ markResolvers?: { |
{ | ||
"name": "storyblok-rich-text-react-renderer", | ||
"description": "A React renderer for Storyblok rich text content", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
64636