Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 28 lines 867 B view raw
1import { cn } from "@/lib/utils"; 2 3function Kbd({ className, ...props }: React.ComponentProps<"kbd">) { 4 return ( 5 <kbd 6 data-slot="kbd" 7 className={cn( 8 "pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-medium font-sans text-muted-foreground text-xs", 9 "[&_svg:not([class*='size-'])]:size-3", 10 "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", 11 className, 12 )} 13 {...props} 14 /> 15 ); 16} 17 18function KbdGroup({ className, ...props }: React.ComponentProps<"div">) { 19 return ( 20 <kbd 21 data-slot="kbd-group" 22 className={cn("inline-flex items-center gap-1", className)} 23 {...props} 24 /> 25 ); 26} 27 28export { Kbd, KbdGroup };