import * as React from 'react' import { cn } from '@/lib/utils' export type KbdProps = React.ComponentProps<'kbd'> function Kbd({ className, ...props }: KbdProps) { return ( ) } Kbd.displayName = 'Kbd' export interface KbdGroupProps extends React.ComponentProps<'span'> { separator?: React.ReactNode } function KbdGroup({ className, children, separator = '+', ...props }: KbdGroupProps) { const items = React.Children.toArray(children) return ( {items.map((child, index) => ( {child} {index < items.length - 1 && ( {separator} )} ))} ) } KbdGroup.displayName = 'KbdGroup' export { Kbd, KbdGroup }