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: 'hero',
type: 'object',
fields: [
defineField({
name: 'title',
type: 'string',
}),
defineField({
name: 'text',
type: 'block',
}),
defineField({
name: 'image',
type: 'image',
}),
],
})
Create a basic UI for a hero block