palantir/blueprint

Document `KeyComboTag` component

開放

#1,954 建立於 2017年12月21日

 (4 則留言) (0 個反應) (0 位負責人)TypeScript (2,167 個分叉)batch import
Domain: documentationP2Package: corehelp wanted

倉庫指標

星標
 (20,263 顆星)
PR 合併指標
 (平均合併 43天 10小時) (30 天內合併 27 個 PR)

描述

Hey there,

In blueprint's HotkeyDialog we see these pretty hotkeys:

image

I'm wondering if the code that makes those nice looking image icons in a mac/windows specific was is exported as a function somewhere?

I looked in the docs but did not seem to see it something to do it. Ideally I would be able to do something like <div> {generateHotkeyIcon("meta+c")} </div>

Hope that makes sense. Thanks!

貢獻者指南