File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Template } from "tinacms";
33import { tinaField } from "tinacms/dist/react" ;
44import { cn } from "../../lib/cn" ;
55
6- export interface HeroImageProps {
6+ export interface HeroImageProps extends Record < string , unknown > {
77 imageUrl : string ;
88 height ?: string ;
99 textPosition ?: "center" | "left" | "center-bottom" ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ type Slide = {
2727 offsetX ?: number ;
2828 offsetY ?: number ;
2929 awards ?: Award [ ] ;
30- } ;
30+ } & Record < string , unknown > ;
3131
3232type IgemHeroProps = Omit <
3333 React . ComponentProps < typeof HeroImage > ,
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ import Link from "next/link";
33import { Template } from "tinacms" ;
44import { tinaField } from "tinacms/dist/react" ;
55
6- interface SponsorLogo {
6+ interface SponsorLogo extends Record < string , unknown > {
77 logo : string ;
88 alt : string ;
99 link : string ;
1010 scale ?: number ;
1111}
1212
13- interface SponsorLogosProps {
13+ interface SponsorLogosProps extends Record < string , unknown > {
1414 title : string ;
1515 sponsors : SponsorLogo [ ] ;
1616}
You can’t perform that action at this time.
0 commit comments