Last active
January 29, 2017 04:38
-
-
Save DZuz14/772d75695d5b8fc26bca4c7784664c64 to your computer and use it in GitHub Desktop.
One of the slide components with a background image added
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
import React, { Component } from 'react'; | |
const SlideThree= (props) => { | |
let background = { | |
backgroundImage: 'url(aurora.jpg)', | |
backgroundSize: 'cover', | |
backgroundPosition: 'center' | |
} | |
return <div style={background} className="slide"></div> | |
} | |
export default SlideThree; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment