palantir/blueprint

Document `KeyComboTag` component

Ouverte

#1 954 ouverte le 21 déc. 2017

 (4 commentaires) (0 réaction) (0 personne assignée)TypeScript (2 167 forks)batch import
Domain: documentationP2Package: corehelp wanted

Métriques du dépôt

Stars
 (20 263 étoiles)
Métriques de merge PR
 (Merge moyen 43j 10h) (27 PRs mergées en 30 j)

Description

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!

Guide contributeur