Last active
July 29, 2018 01:28
-
-
Save DZuz14/7ad31722814e3aec758eb575b385532b to your computer and use it in GitHub Desktop.
Slider Updated With Child Components
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, { Component } from 'react' | |
import Slide from '../slide' | |
import LeftArrow from '../left-arrow' | |
import RightArrow from '../right-arrow' | |
export default class Slider extends Component { | |
constructor(props) { | |
super(props) | |
this.state = {} | |
} | |
render() { | |
return ( | |
<div className="slider"> | |
<Slide /> | |
<LeftArrow /> | |
<RightArrow /> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment