breatheco-de / main-documentation

This repository servers like an aggregator everything that is being developed and publish in breathecode.
7 stars 18 forks source link

Card component #49

Closed Omonroy36 closed 3 years ago

Omonroy36 commented 4 years ago

Hrs: 3

Build a card component that displays descriptive information and can be used to redirect to another section of the app.

Prop Description
img If passed as a child it will display an image with a max-width and maintaining its aspect ratio
title if passed as a child it will be displayed as the title of the card with h5 tag and a font weight of 600
description if passe as a child it will be displayed as a description with a p tag
icon if passed as a parameter it will display an icon floating always to the right, as default there will be a arrow icon
onClick if passed as a parameter it will make the whole card clickable and receive the function to trigger the action, as default the card is only informative
variant if passed as a parameter it will change the background color of the card

It should look like this Captura

@alesanchezr

alesanchezr commented 4 years ago

No fue aprobado, requiere cambios que estan especificados en el PR: https://github.com/breatheco-de/client/pull/3

alesanchezr commented 3 years ago

@Omonroy36 como vas con esto?

alesanchezr commented 3 years ago

Aprobado.

Jtoledo88 commented 3 years ago

Pagado