astro-portabletext
Advanced tools
Comparing version 0.4.0-next.3 to 0.4.0-next.4
@@ -108,3 +108,3 @@ import type { ToolkitListNestMode, ToolkitNestedPortableTextSpan, ToolkitPortableTextList, ToolkitPortableTextListItem, ToolkitTextNode } from "@portabletext/toolkit"; | ||
/** | ||
* Alias to `PortableTextBlock` | ||
* Alias to `PortableTextBlock` with `style` set to `normal` | ||
* | ||
@@ -114,7 +114,12 @@ * @see {@link https://portabletext.github.io/types/interfaces/PortableTextBlock.html} | ||
* @example | ||
* import type { Block, Props } from "astro-portabletext/types"; | ||
* const props = Astro.props as Props<Block>; | ||
* import type { Block, Props as $ } from "astro-portabletext/types"; | ||
* | ||
* export type Props = $<Block>; | ||
*/ | ||
export declare type Block = PortableTextBlock; | ||
export interface Block extends PortableTextBlock { | ||
style: "normal" | PortableTextBlockStyle; | ||
} | ||
/** | ||
* @deprecated Use `Block` instead | ||
* | ||
* @example | ||
@@ -121,0 +126,0 @@ * import type { BlockStyle, Props } from "astro-portabletext/types"; |
{ | ||
"name": "astro-portabletext", | ||
"version": "0.4.0-next.3", | ||
"version": "0.4.0-next.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Render Portable Text with Astro", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25522
286