Skip to content

Commit

Permalink
Update repeating content component docs (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown authored Mar 7, 2024
1 parent 51fbc95 commit b511597
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/content/pages/content-components.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ TestimonialGrid: repeating({
})
}
}),
Testimonial: wrapper({
label: 'Testimonial',
schema: {
author: fields.text({ label: 'Author' }),
role: fields.text({ label: 'Role' }),
}
})
```

The MDX output for this `TestimonialGrid` will look like this:
Expand Down

0 comments on commit b511597

Please sign in to comment.