Use AccessibleButton.

pull/21833/head
Richard Lewis 2018-04-02 10:18:35 +01:00
parent 11915b0cdf
commit d83b6f1cf8
1 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,7 @@ import sdk from '../../../index';
import SdkConfig from '../../../SdkConfig';
import ScalarAuthClient from '../../../ScalarAuthClient';
import dis from '../../../dispatcher';
import AccessibleButton from '../elements/AccessibleButton';
const widgetType = 'm.stickerpicker';
@ -49,11 +50,12 @@ export default class Stickerpicker extends React.Component {
defaultStickersContent() {
return (
<div className='mx_Stickers_contentPlaceholder'>
<AccessibleButton onClick={this._launchManageIntegrations}
className='mx_Stickers_contentPlaceholder'>
<p>{ _t("You don't currently have any stickerpacks enabled") }</p>
<p>{ _t("Click") } <span className='mx_Stickers_addLink' onClick={this._launchManageIntegrations} > { _t("here") }</span> { _t("to add some!") }</p>
<p className='mx_Stickers_addLink'>Add some now</p>
<img src='img/stickerpack-placeholder.png' alt={_t('Add a stickerpack')} />
</div>
</AccessibleButton>
);
}