eclipse-tractusx / portal-shared-components

Portal Shared UI Components
https://eclipse-tractusx.github.io/portal-shared-components
Apache License 2.0
2 stars 14 forks source link

Feat: Horizontal Card component allow image object #356

Open Usmanfee opened 1 month ago

Usmanfee commented 1 month ago

Description

Previously, the HorizontalCard component was only accepting image src and alt but now as per new agenda we need to make it more flexible to accept the object for an image which make it more reusable to use image loader along with other already configured properties like src, alt. Discussion and agenda topic: https://github.com/eclipse-tractusx/portal-frontend/pull/1197#discussion_r1803179169

Acceptance Criteria

The already existing component which are using HorizontalCard component should display the image like before(no any visual difference there).