Commit f74d8ed6 authored by mirree's avatar mirree
Browse files

Fixed rewriting of NavigationDots

parent 8ad0b6ca
import React from 'react'; import React from 'react';
function NavigationDots(){ function NavigationDots(props){
return ( return (
<div className="navDots"> <div className="navDots">
<button className = "dot" onClick={this.props.goToFirstSlide}></button> <button className = "dot" onClick={props.goToFirstSlide}></button>
<button className = "dot" onClick={this.props.goToSecondSlide}></button> <button className = "dot" onClick={props.goToSecondSlide}></button>
<button className = "dot" onClick={this.props.goToThirdSlide}></button> <button className = "dot" onClick={props.goToThirdSlide}></button>
<button className = "dot" onClick={this.props.goToFourthSlide}></button> <button className = "dot" onClick={props.goToFourthSlide}></button>
</div> </div>
); );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment