Skip to content
Snippets Groups Projects
Commit c3d5c8e6 authored by Saúl Ibarra Corretgé's avatar Saúl Ibarra Corretgé Committed by Hristo Terezov
Browse files

Add heading to help menu

parent 1d3cfbb5
No related branches found
No related tags found
No related merge requests found
// @flow
import Droplist, { Item } from '@atlaskit/droplist';
import Droplist, { Item, Group } from '@atlaskit/droplist';
import HelpIcon from '@atlaskit/icon/glyph/question-circle';
import React, { Component } from 'react';
......@@ -97,9 +97,17 @@ export default class HelpButton extends Component< *, State> {
onOpenChange = { this._onIconClick }
position = 'right bottom'
trigger = { <HelpIcon /> }>
<Item onActivate = { this._onTermsOptionClick }>Terms</Item>
<Item onActivate = { this._onPrivacyOptionClick }>Privacy</Item>
<Item onActivate = { this._onSendFeedback }>Send Feedback</Item>
<Group heading = 'Help'>
<Item onActivate = { this._onTermsOptionClick }>
Terms
</Item>
<Item onActivate = { this._onPrivacyOptionClick }>
Privacy
</Item>
<Item onActivate = { this._onSendFeedback }>
Send Feedback
</Item>
</Group>
</Droplist>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment