0.2.10 • Published 7 months ago

@sankei-arc-shared-components/element_image v0.2.10

Weekly downloads
35
License
ISC
Repository
github
Last release
7 months ago

Core Image Component

What does this do ?

This component can be used to render and image.

The image can be a link, the image can also be part of a gallery-embed. If it is a gallery embed it will display a counter with how many total images are in the gallery.

How do I use this in my project ?

import Image from "@sankei-arc-shared-components/element_image";

<Image  
        caption='Test Caption'
        captionClassName='caption-class'
        className='test-class'
        hideCaption={false}
        showGalleryCounter={false}
        imgClassName='test-image-class'
        url='https://www.w3schools.com/html/pic_trulli.jpg'
        showGalleryCounter={true}
        galleryElements={5}
        linkProps={{ href: 'http://www.yahoo.com'}} />;

To view other variations of how to render an Image with different props please view the index.mdx file

0.2.10

7 months ago

0.2.9

1 year ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago