79529825

Date: 2025-03-23 22:54:15
Score: 1
Natty:
Report link

I went into the source code of PortalableText: , components param accept an object that is of PortableTextComponents type. PortableTextComponents is declared here and it is Partial<PortableTextSvelteComponents>. PortableTextSvelteComponents doesn't seem to accept a field called image.

It seems like you are trying to use a custom type, this may help: https://github.com/portabletext/svelte-portabletext?tab=readme-ov-file#customizing-rendering

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Skk