MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / Ping

Function Ping

apps/start/src/components/ping.tsx:4–16  ·  view source on GitHub ↗
({ className }: { className?: string })

Source from the content-addressed store, hash-verified

2import { Badge } from './ui/badge';
3
4export function Ping({ className }: { className?: string }) {
5 return (
6 <div className="relative">
7 <div className={cn('size-2 bg-emerald-500 rounded-full', className)} />
8 <div
9 className={cn(
10 'size-2 bg-emerald-500 rounded-full absolute inset-0 animate-ping',
11 className,
12 )}
13 />
14 </div>
15 );
16}
17
18export function PingBadge({
19 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected