initial piwik stuff

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-05-27 20:47:09 +01:00
parent 5a6baafc91
commit 98c2f9201b
4 changed files with 84 additions and 1 deletions

View file

@ -16,6 +16,7 @@ limitations under the License.
import React from 'react';
import Analytics from '../../../Analytics';
import * as KeyCode from '../../../KeyCode';
import AccessibleButton from '../elements/AccessibleButton';
import sdk from '../../../index';
@ -66,8 +67,9 @@ export default React.createClass({
},
render: function() {
Analytics.trackEvent('Dialog', 'mount', this.props.title);
const TintableSvg = sdk.getComponent("elements.TintableSvg");
return (
<div onKeyDown={this._onKeyDown} className={this.props.className}>
<AccessibleButton onClick={this._onCancelClick}