MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ToolkitDetailSkeleton

Function ToolkitDetailSkeleton

packages/plugins/toolkits/src/page.tsx:1227–1281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1225}
1226
1227function ToolkitDetailSkeleton() {
1228 return (
1229 <div className="flex min-h-0 flex-1 flex-col overflow-hidden">
1230 <div className="shrink-0 border-b border-border/60 bg-background/95 px-4 py-3">
1231 <Skeleton className="mb-3 h-7 w-20 rounded-md" />
1232 <div className="space-y-2">
1233 <div className="flex min-w-0 items-center gap-2">
1234 <Skeleton className="h-4 w-40" />
1235 <Skeleton className="h-5 w-16 rounded-full" />
1236 <Skeleton className="h-3 w-12" />
1237 </div>
1238 <Skeleton className="h-6 w-full max-w-md" />
1239 </div>
1240 </div>
1241
1242 <div className="flex min-h-0 flex-1 overflow-hidden">
1243 <div
1244 className="flex min-h-0 shrink-0 flex-col border-r border-border/60"
1245 style={toolkitToolTreeStyle}
1246 >
1247 <div className="border-b border-border/60 px-3 py-3">
1248 <div className="flex items-center justify-between gap-3">
1249 <div className="space-y-2">
1250 <Skeleton className="h-3 w-28" />
1251 <Skeleton className="h-3 w-14" />
1252 </div>
1253 <Skeleton className="h-8 w-16 rounded-md" />
1254 </div>
1255 </div>
1256 <div className="space-y-1 p-3">
1257 {Array.from({ length: 9 }).map((_, index) => (
1258 <div key={index} className="flex items-center gap-2 rounded-md px-2 py-1.5">
1259 <Skeleton className="size-4 shrink-0 rounded" />
1260 <Skeleton className="h-3.5" style={{ width: `${48 + ((index * 13) % 38)}%` }} />
1261 </div>
1262 ))}
1263 </div>
1264 </div>
1265 <div className="flex min-w-0 flex-1 flex-col gap-5 overflow-hidden p-6">
1266 <div className="space-y-2">
1267 <Skeleton className="h-5 w-52" />
1268 <Skeleton className="h-4 w-full max-w-lg" />
1269 <Skeleton className="h-4 w-full max-w-sm" />
1270 </div>
1271 <div className="space-y-3">
1272 <Skeleton className="h-4 w-24" />
1273 <Skeleton className="h-24 w-full rounded-md" />
1274 <Skeleton className="h-4 w-28" />
1275 <Skeleton className="h-24 w-full rounded-md" />
1276 </div>
1277 </div>
1278 </div>
1279 </div>
1280 );
1281}
1282
1283function ToolkitDetailView(props: {
1284 toolkit: ToolkitResponse;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected