blob: 16c1fbb9253462d8b793a5e9ad6e60e9f16a5bb6 (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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 (
<div className='imageForm'>
</div>
)
}
}
|