blob: 4d2a8e6ca8b710807f8eed000089940b2d326e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import React, { Component } from 'react'
import { Container as FaceSearchContainer } from './faceSearch'
export default class Applet extends Component {
render() {
console.log(this.props)
switch (this.props.payload.cmd) {
case 'face_search':
return <FaceSearchContainer {...this.props} />
default:
return <pre style={{ color: '#0f0' }}>{'Megapixels'}</pre>
}
}
}
|