Unlock seamless workflows and faster delivery with our latest releases – get the details

How to modify props passed to renderDefault() in order to customize the item component in an interactive array.

2 replies
Last updated: Sep 27, 2023
I want to customize the item component for elements in an array. It should be interactive so i'm following this guide from sanity.io . However I dont understand how I can modify the props passed on to renderDefault() so that the menu button (the three dots) appear at the end of the item component. Is that possible?
Sep 26, 2023, 8:10 AM
You can’t change that if you’re using
renderDefault
, you would need to create an entirely custom component.
Sep 26, 2023, 3:40 PM
Right, thanks for the reply!
Sep 27, 2023, 6:36 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?