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