aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Ashby <martin@martin-laptop.lan>2018-05-17 21:28:49 +0100
committerMartin Ashby <martin@martin-laptop.lan>2018-05-17 21:28:49 +0100
commit7e45cf7f66327c87a5369b8194fc05ba60fc3755 (patch)
tree255b9166ac55565f62f95b419c6a44a73dd6ab3e /src
parente8215610fda6a39cf57dd19367fe9757597d31e7 (diff)
downloadunicornpaint-7e45cf7f66327c87a5369b8194fc05ba60fc3755.tar.gz
unicornpaint-7e45cf7f66327c87a5369b8194fc05ba60fc3755.tar.bz2
unicornpaint-7e45cf7f66327c87a5369b8194fc05ba60fc3755.tar.xz
unicornpaint-7e45cf7f66327c87a5369b8194fc05ba60fc3755.zip
Added twitter feed for livestream video
Diffstat (limited to 'src')
-rw-r--r--src/App.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index fe5a100..1895e23 100644
--- a/src/App.js
+++ b/src/App.js
@@ -9,6 +9,7 @@ import ColorIndicator from './ColorIndicator'
import ConnectedIndicator from './ConnectedIndicator'
import LoadDialog from './LoadDialog'
import SaveDialog from './SaveDialog'
+import { Timeline } from 'react-twitter-widgets'
const tools = [
{
@@ -208,6 +209,11 @@ class App extends Component {
selectedColor={this.state.selectedColor}
onSelectColor={(color) => this.setState({ selectedColor: color })} />
<ColorIndicator color={this.state.selectedColor} />
+ {/* Embedded tweet showing live stream */}
+ <Timeline dataSource={{
+ sourceType: 'profile',
+ screenName: 'UnicornPaint'
+ }}/>
<div>
{
this.state.showingLoad