Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More "how to use it" examples ? #50

Open
JulienDesmettre opened this issue May 18, 2018 · 2 comments
Open

More "how to use it" examples ? #50

JulienDesmettre opened this issue May 18, 2018 · 2 comments

Comments

@JulienDesmettre
Copy link

JulienDesmettre commented May 18, 2018

Hello, thanks a lot for these components. Your live demo is really nice.
It's not an issue, more an understanding problem by my side, as i'm a newbie with React, but seeing more complete component code and how you use different properties and how you control your grid will be really helpfull. Or at least seeing how your live demo is made, especially the "real world" example. I'm trying to understand it through react developper tool, but i'm not recognizing the code structure.

@nick-gaudreau
Copy link

I agree. Could you share the react code for the "real world" example

@NevenLeung
Copy link

NevenLeung commented Nov 10, 2018

Hi @JulienDesmettre @JulienDesmettre , here is the code of real world example.

Some props may be not necessary. Here is the my minimal usage:

<StackGrid
  columnWidth={210}
  monitorImagesLoaded={true}
>
  {PhotoItems}  // PhotoItems is an array of <img> component
</StackGrid>

If you have any other requirement, check the usage of the props properties in README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants