I want to create a block that has this as an object at the top, with some dummy data for each.
import { defineField, defineType } from 'sanity'
export default defineType({
name: 'textAndImage',
type: 'object',
fields: [
defineField({
name: 'orientation',
type: 'string',
options: {
list: ['imageLeft', 'imageRight'],
},
}),
defineField({
name: 'title',
type: 'string',
}),
defineField({
name: 'image',
type: 'image',
}),
],
})
Create a basic UI for a split image block