mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
15 lines
694 B
HTML
15 lines
694 B
HTML
---
|
|
layout: docs
|
|
title: test.md
|
|
---
|
|
<pre><code class="lang-coffee">render: =>
|
|
<<span class="hljs-type">Popover</span> <span class="hljs-keyword">ref</span>=<span class="hljs-string">"popover"</span>
|
|
className=<span class="hljs-string">"translate-language-picker pull-right"</span>
|
|
buttonComponent={@_renderButton()}>
|
|
<<span class="hljs-type">Menu</span> items={ <span class="hljs-type">Object</span>.keys(<span class="hljs-type">YandexLanguages</span>) }
|
|
itemKey={ (item) -> item }
|
|
itemContent={ (item) -> item }
|
|
onSelect={@_onTranslate}
|
|
/>
|
|
</<span class="hljs-type">Popover</span>>
|
|
</code></pre>
|