index.js 453 Bytes
Newer Older
zhanghaozhe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import React, { Component } from 'react';
import './index.scss'

class Catalog extends Component {
  render() {
    return (
      <div className={'catalog'}>
        <div className="icon">
          <img src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/interactive_tutorial/study/level1-title-icon.png"
               alt=""/>
        </div>
        <div className="title">{this.props.title}</div>
      </div>
    );
  }
}

export default Catalog;