dohomi / storyblok-rich-text-react-renderer-ts

A React renderer for Storyblok rich text content based on TS
MIT License
7 stars 1 forks source link

Has no exported member "MARK_LINK" #1

Closed robin-gustafsson closed 2 years ago

robin-gustafsson commented 2 years ago

Hi 👋 I'm trying to map link element like this: https://github.com/dohomi/storyblok-rich-text-react-renderer-ts#example-map-link-elements-to-nextjs-link-component

But got error "Module '"storyblok-rich-text-react-renderer-ts"' has no exported member 'MARK_LINK'.ts"

screenshot-vs-code
dohomi commented 2 years ago

@Robin-Gustafsson thanks for pointing this out. The README was outdated. You have automatically typed sections of the render options without the need to import any else than the render function. I updated the README accordingly.

Screenshot 2022-06-17 at 13 43 24