index.js 507 Bytes
Newer Older
zhanghaozhe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import React, { Component } from 'react';
import './index.scss'

class Selection extends Component {
  state = {
    screenshots: ['','','']
  }

  render() {
    return (
      <div id={'selection'}>
        <h2> /  /  / </h2>
        <ul>
          {
            this.state.screenshots.map((item, i) => {
              return <li key={i}>
                <img src={item} alt=""/>
              </li>
            })
          }
        </ul>
      </div>
    );
  }
}

export default Selection;