rdunk / sanity-blocks-vue-component

[DEPRECATED] Vue component for rendering block content from Sanity
MIT License
71 stars 10 forks source link

Pass props to other type of serializers #17

Open huguestennier opened 3 years ago

huguestennier commented 3 years ago

Fix https://github.com/rdunk/sanity-blocks-vue-component/issues/16

Unless i'm wrong, right now there's no way to access props on other serializers then Blocks or Marks.

If i'm creating a List serializers, I can't differentiate between bullets or numbers (or any custom list type) because I don't have access to the type props.