palantir/blueprint

Document `KeyComboTag` component

Open

#1954 aperta il 21 dic 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
Domain: documentationP2Package: corehelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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!

Guida contributor