Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat: add help button
Browse files Browse the repository at this point in the history
  • Loading branch information
tilmx authored and marionebl committed Sep 20, 2018
1 parent e57fea7 commit 1bb3424
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/container/chrome/chrome-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@ export const ChromeContainer = MobxReact.inject('store')(
{page.getName()}
</ViewSwitch>
<div style={{ display: 'flex', justifySelf: 'right', alignItems: 'center' }}>
<ChromeButton
title="Help"
onClick={() => {
props.store.getSender().send({
type: MessageType.OpenExternalURL,
id: uuid.v4(),
payload: 'https://meetalva.io/doc/docs/start'
});
}}
onDoubleClick={event => {
event.stopPropagation();
}}
/>
<ChromeButton
title="Found a Bug?"
onClick={() => {
Expand Down

0 comments on commit 1bb3424

Please sign in to comment.