OPHJOD-566: Add MediaCard component #591
Annotations
3 errors and 1 warning
lib/components/MediaCard/MediaCard.stories.tsx#L22
Type '{ variant: "vertical"; imageSrc: string; label: string; description: string; tags: string[]; }' is not assignable to type '(Partial<{ variant?: Variant | undefined; imageSrc: string; imageAlt: string; label: string; description: string; tags: string[]; to: string | object; linkComponent: ComponentType<{ to: string | object; className?: string | undefined; children: ReactNode; }>; }> & { ...; }) | (Partial<...> & { ...; }) | (Partial<......'.
|
lib/components/MediaCard/MediaCard.stories.tsx#L38
Type '{ variant: "horizontal"; imageSrc: string; label: string; description: string; tags: string[]; }' is not assignable to type '(Partial<{ variant?: Variant | undefined; imageSrc: string; imageAlt: string; label: string; description: string; tags: string[]; to: string | object; linkComponent: ComponentType<{ to: string | object; className?: string | undefined; children: ReactNode; }>; }> & { ...; }) | (Partial<...> & { ...; }) | (Partial<......'.
|
|
|
The logs for this run have expired and are no longer available.
Loading