palantir/blueprint

Document `KeyComboTag` component

Open

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

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
Domain: documentationP2Package: corehelp wanted

描述

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!

貢獻者指南

Document `KeyComboTag` component · palantir/blueprint#1954 | Good First Issue