Quantcast
Channel: Jordan Theriault » Open Source
Viewing all articles
Browse latest Browse all 21

R7 – React-Bootstrap: Updated Thumbnail, added divider option

$
0
0

As per the request by the project creator mtscout6 on the last pull request, I’ve added a div option to the thumbnail. In this spec, the user can specify a “href” prop in order to use the thumbnail as an anchor tag. If the user omits the “href” property, the thumbnail will be a divider with an image at the top, and caption divider beneath.

I am currently waiting on comments for the latest addition to the thumbnail pull request.

For someone using the react-bootstrap framework the user would create the desired result below.

Anchor Thumbnail:
Anchor Thumbnail

Div Thumbnail:
Screenshot 2015-04-14 16.08.34


Viewing all articles
Browse latest Browse all 21

Trending Articles