Created
January 12, 2018 04:25
-
-
Save wongni/82a78e98f6aeffe9496bf91d77b5895d 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
import React from 'react' | |
import styles from './ViewerTemplate.scss' | |
import classNames from 'classnames/bind' | |
const cx = classNames.bind(styles) | |
const ViewerTemplate = ({ viewer, spaceNavigator }) => { | |
return ( | |
<div className={cx('viewer-template')}> | |
<header> | |
Astronomy Picture of the Day | |
</header> | |
<div className={cx('viewer-wrapper')}> | |
{viewer} | |
<div className={cx('space-navigator-wrapper')}> | |
{spaceNavigator} | |
</div> | |
</div> | |
</div> | |
) | |
} | |
export default ViewerTemplate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment