1.12.0 • Published 4 years ago

@schibstedspain/sui-thumbnail-basic v1.12.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

ThumbnailBasic

Shows an image with an optional caption text. Can also be used as a link

Installation

$ npm install @schibstedspain/sui-thumbnail-basic --save

Usage

Basic usage

import ThumbnailBasic from '@schibstedspain/sui-thumbnail-basic'

return (
  <ThumbnailBasic
    src='image source'
    alt='image alt'
    href='link'
    target='link target'
    captionText='Show!'
    placeholder={
      <img src='image to be shown until loading thumbnailBasic src' />
    }
  />
)

Find full description and more examples in the demo page.

1.12.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.0

6 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago