Created
September 5, 2018 13:29
-
-
Save cfv1984/b611e9b8f12730d06bc8ed51e74f5a0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gallery = ({data}) => <Fragment> | |
{Object.keys(data).map(id => <Album | |
photos={data[id].photos} | |
key={id}) | |
/> | |
}</Fragment>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment