MCPcopy
hub / github.com/simstudioai/sim / Shortcut

Function Shortcut

packages/emcn/src/components/tooltip/tooltip.tsx:451–456  ·  view source on GitHub ↗
({ keys, className, children }: ShortcutProps)

Source from the content-addressed store, hash-verified

449 * ```
450 */
451const Shortcut = ({ keys, className, children }: ShortcutProps) => (
452 <span className={cn('flex items-center gap-2', className)}>
453 {children && <span>{children}</span>}
454 <span className='opacity-70'>{keys}</span>
455 </span>
456)
457Shortcut.displayName = 'Tooltip.Shortcut'
458
459interface PreviewProps {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected