Created
October 26, 2016 14:30
-
-
Save pnispel/8791742d45b25ededab34ccbd1dfb7aa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export default ({nestedPhoto}) => { | |
return ( | |
<PhotoCard | |
dispatch={(action) => nestedPhoto(action, {id: blah})} | |
/> | |
<Viewer | |
/* ???? needs to dispatch some to nestedPhoto and some to the parent of nestedPhoto */ | |
/> | |
); | |
} |
This file contains hidden or 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
{ | |
albumShow: { | |
collection: [/* nested modules for each item in the collection */], | |
viewer: { | |
open: false, | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment