Skip to content

React package to group images (up to 4) to the given size

Notifications You must be signed in to change notification settings

MeshApp/meshapp-image-group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeshApp Image Group

How to

If you make any changes you should:

  • Update package version in package.json

  • Build the package

    yarn run build
    
  • Commit/push your changes and:

    npm (update/install) --save meshapp-image-group
    

    on the project that you want to use this component

  • Make sure that this component (on your main project) has the following download link inside the package.json:

    git+ssh://git@github.com/MeshApp/meshapp-image-group.git#master
    

Props

  width: PropTypes.string
    <ImageGroup width={'200px'}/>

  height: PropTypes.string
    <ImageGroup height={'200px'}/>

  borderRad: PropTypes.string
    <ImageGroup borderRad={'8px'}/>

  data: PropTypes.array
    <ImageGroup data={['imageUrl(1)', 'imageUrl(2)']}/>

  imageClicked: PropTypes.func
    <ImageGroup imageClicked={this.YourFunction}/>
      This functions will pass the url of the image clicked. 
      The format of your function should be something like:
      twitterImageClicked(urlOfTheImage){}

About

React package to group images (up to 4) to the given size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published