import React, { FC, ReactNode } from "react";

type Props = {
  label: ReactNode;
  children: ReactNode;
  className?: string;
};

export const LabelValue: FC<Props> = ({ label, children, className }) => {
  return (
    <div className={className}>
      <span className="italic">{label}:</span>{" "}
      <span className="font-semibold">{children}</span>
    </div>
  );
};
