import * as React from "react"; import { cn } from "@/lib/utils"; interface ResultRowProps extends React.HTMLAttributes { score?: number | string; scoreLabel?: React.ReactNode; meta?: React.ReactNode; } export const ResultRow = React.forwardRef( ({ className, score, scoreLabel, meta, children, ...props }, ref) => (
{score !== undefined ? (
{scoreLabel ?? "score"} {score} {meta ? ( {meta} ) : null}
) : null}
{children}
), ); ResultRow.displayName = "ResultRow";