import React, { PropTypes } from 'react' import MarkdownPreview from 'boost/components/MarkdownPreview' import CodeEditor from 'boost/components/CodeEditor' export default class Tutorial extends React.Component { constructor (props) { super(props) this.state = { slideIndex: 0 } } handlePriorSlideClick () { if (this.state.slideIndex > 0) this.setState({slideIndex: this.state.slideIndex - 1}) } handleNextSlideClick () { if (this.state.slideIndex < 4) this.setState({slideIndex: this.state.slideIndex + 1}) } startButtonClick (e) { this.props.close() } render () { let content = this.renderContent(this.state.slideIndex) let dotElements = [] for (let i = 0; i < 5; i++) { dotElements.push() } return (
{content}