Use AccessibleButton.
This commit is contained in:
parent
11915b0cdf
commit
d83b6f1cf8
1 changed files with 5 additions and 3 deletions
|
@ -24,6 +24,7 @@ import sdk from '../../../index';
|
||||||
import SdkConfig from '../../../SdkConfig';
|
import SdkConfig from '../../../SdkConfig';
|
||||||
import ScalarAuthClient from '../../../ScalarAuthClient';
|
import ScalarAuthClient from '../../../ScalarAuthClient';
|
||||||
import dis from '../../../dispatcher';
|
import dis from '../../../dispatcher';
|
||||||
|
import AccessibleButton from '../elements/AccessibleButton';
|
||||||
|
|
||||||
const widgetType = 'm.stickerpicker';
|
const widgetType = 'm.stickerpicker';
|
||||||
|
|
||||||
|
@ -49,11 +50,12 @@ export default class Stickerpicker extends React.Component {
|
||||||
|
|
||||||
defaultStickersContent() {
|
defaultStickersContent() {
|
||||||
return (
|
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("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')} />
|
<img src='img/stickerpack-placeholder.png' alt={_t('Add a stickerpack')} />
|
||||||
</div>
|
</AccessibleButton>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue