-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
https://github.com/uwigem/uwigem.com/wiki/Formatting-of-components
ImageCluster is only the images that are on top of each other in some sort of grid format, like on Slack's home page. This means they are not the images with the small design behind them (though if you want to integrate them with that, that'd be cool. I will be making a separate issue for those, and will probably name it ImageWithStyleBehind or something. We will worry about this a bit later)
You will receive as props:
images: an array of javascript objects in this format:
{
image: image url,
priority: number that is either 0, 1, or 2 (0 is top priority)
}
The image url will be imported in React like so: https://facebook.github.io/create-react-app/docs/adding-images-fonts-and-files, and it will be passed as a prop like that.
Feel free to add additional props as needed for configuration purposes.
Reactions are currently unavailable