Function
ProjectInfoRow
({
label,
mono,
value,
}: {
label: string
mono?: boolean
value: string
})
Source from the content-addressed store, hash-verified
| 3240 | } |
| 3241 | |
| 3242 | function ProjectInfoRow({ |
| 3243 | label, |
| 3244 | mono, |
| 3245 | value, |
| 3246 | }: { |
| 3247 | label: string |
| 3248 | mono?: boolean |
| 3249 | value: string |
| 3250 | }) { |
| 3251 | return ( |
| 3252 | <div className="flex flex-col gap-1"> |
| 3253 | <dt className="font-medium text-muted-foreground">{label}</dt> |
| 3254 | <dd |
| 3255 | className={cn( |
| 3256 | "break-all rounded-md bg-muted/50 px-2 py-1 text-foreground", |
| 3257 | mono && "font-mono" |
| 3258 | )} |
| 3259 | > |
| 3260 | {value} |
| 3261 | </dd> |
| 3262 | </div> |
| 3263 | ) |
| 3264 | } |
| 3265 | |
| 3266 | function formatHeaderUpdatedAt(updatedAt: number) { |
| 3267 | if (!isFiniteTimestamp(updatedAt)) { |
Callers
nothing calls this directly
Tested by
no test coverage detected