// Copy Pasta from: https://github.com/sadmann7/shadcn-table/blob/main/src/components/kbd.tsx#L54 import { ComponentPropsWithoutRef, forwardRef } from 'react' import { cn } from 'ui' export const kdbClassName = cn( 'select-none rounded-sm border px-1.5 py-px font-mono text-[0.7rem] font-normal font-mono shadow-xs disabled:opacity-50', 'bg-background text-foreground' ) export const Kbd = forwardRef>( ({ children, className, ...props }, ref) => { return ( {children} ) } ) Kbd.displayName = 'Kbd'