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 合并指标
 (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!

贡献者指南