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

Button with Image Component #43

Closed Omonroy36 closed 4 years ago

Omonroy36 commented 4 years ago

Hrs: 4

Build a button that receives the following props (base use): Prop Description
imgSrc if specified, it takes an img source a displays it in the left side of the button, if not default avatar is set
url If specified, it takes to a whole different website in a new tab by default (make sure to add rel nofollow noopener
to If specified, it takes to a different reach router view
className default will be set to primary, if passes a bootstrap it will set the button to that color
sub if specified it will place a subtitle below the button title with a gray borded backgroud

The button should always display the content justified to the left

Captura @alesanchezr

alesanchezr commented 4 years ago

Que pasa si no tiene image?

alesanchezr commented 4 years ago

Recuerda poner varios ejemplso

alesanchezr commented 4 years ago

Aprobado.

Jtoledo88 commented 4 years ago

pagado