spb/datacenterindex
Public
HTML 53.9%
TypeScript 44.5%
JavaScript 0.6%
SQL 0.5%
1import type { ReactNode } from "react";2import { cn } from "./cn";34export function Kbd({ children, className }: { children: ReactNode; className?: string }) {5 return <kbd className={cn("inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-xs border border-hair-2 bg-surface px-1 font-sans text-[10.5px] font-medium text-ink-3", className)}>{children}</kbd>;6}7