summaryrefslogtreecommitdiff
path: root/frontend/views/upload/components/upload.menu.js
blob: 37c7f0b077e75e7c32b030cebb0a9da882226901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import React, { Component } from 'react'
import { Link } from 'react-router-dom'

import { MenuButton, FileInput } from '../../../common'

import actions from '../../../actions'

export default class UploadMenu extends Component {
  render() {
    return (
      <div className='menuButtons'>
        <MenuButton name="upload">
          <FileInput onChange={this.props.uploadActions.upload} />
        </MenuButton>
      </div>
    )
  }
}