OPHJOD-566: Add MediaCard component #591
Annotations
3 errors and 1 warning
Build:
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<......'.
|
Build:
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<......'.
|
Build
Process completed with exit code 2.
|
Build
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|