import { ReactNode } from 'react'; interface Props { children?: ReactNode; label: string; } export function DetailsRow({ label, children }: Props) { return ( {label} {children && {children}} ); }