diff options
author | Martin Ashby <martin@martin-laptop.lan> | 2018-05-17 21:28:49 +0100 |
---|---|---|
committer | Martin Ashby <martin@martin-laptop.lan> | 2018-05-17 21:28:49 +0100 |
commit | 7e45cf7f66327c87a5369b8194fc05ba60fc3755 (patch) | |
tree | 255b9166ac55565f62f95b419c6a44a73dd6ab3e /src | |
parent | e8215610fda6a39cf57dd19367fe9757597d31e7 (diff) | |
download | unicornpaint-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.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |