block in the first code example above? Is this even possible?
Jan 3, 2022, 11:24 AM
K
Ah, turns out this can be solved by using plain ol' JavaScript! Instead of specifying a custom type, I created a function that inlines the type for me.
The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.