d-shortcut

Usage

Ctrl K
xs sm md

:d-shortcut{value="meta"} :d-shortcut{value="K"}

:d-shortcut{value="xs" size="xs"} :d-shortcut{value="sm"} :d-shortcut{value="md" size="md"}

You can put meta in the value field to automatically display either ⌘ or Ctrl based on the platform.

Props

valuestring
Text in the d-shortcut
size'xs' | 'sm' | 'md'
'sm'