diff --git a/examples/with-typescript/index.tsx b/examples/with-typescript/index.tsx index f30a7db..9031758 100644 --- a/examples/with-typescript/index.tsx +++ b/examples/with-typescript/index.tsx @@ -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; }>; } > @@ -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; }>; } >