Skip to content

Commit

Permalink
Update naming for group field in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
xrutayisire committed May 17, 2024
1 parent 01474c9 commit 980a74d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/with-typescript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ type PageDocument = prismic.PrismicDocumentWithUID<{
{
heading: prismic.KeyTextField;
body: prismic.RichTextField;
items: prismic.GroupField<{
buttonText: prismic.KeyTextField;
buttonLink: prismic.LinkField;
buttons: prismic.GroupField<{
label: prismic.KeyTextField;
link: prismic.LinkField;
}>;
}
>
Expand All @@ -37,9 +37,9 @@ type PageDocument = prismic.PrismicDocumentWithUID<{
// Fields
{
text: prismic.RichTextField;
items: prismic.GroupField<{
buttonText: prismic.KeyTextField;
buttonLink: prismic.LinkField;
buttons: prismic.GroupField<{
label: prismic.KeyTextField;
link: prismic.LinkField;
}>;
}
>
Expand Down

0 comments on commit 980a74d

Please sign in to comment.