import React, { Component } from 'react' import { Link } from 'react-router-dom' import { session } from '../../../session' import { capitalize } from '../../../util' import { TextInput, LabelDescription, Select, TextArea, Checkbox, SubmitButton, Loader } from '../../../common' export default class MediaVideoForm extends Component { state = { } constructor(props) { super(props) this.handleSelect = this.handleSelect.bind(this) this.handleChange = this.handleChange.bind(this) this.handleSettingsChange = this.handleSettingsChange.bind(this) } componentDidMount() { } handleChange(e) { const { name, value } = e.target this.handleSelect(name, value) } handleSelect(name, value) { this.props.onSelect(name, value) } handleSettingsChange(name, value) { this.props.onSettingsChange(name, value) } render() { const { data } = this.props console.log(data) return (