1
0

ClientCardComment.tsx 324 B

1234567891011121314151617
  1. type ClientCardCommentProps = {
  2. comment?: string;
  3. className?: string;
  4. };
  5. export default function ClientCardComment({
  6. comment,
  7. className = 'client-card-comment',
  8. }: ClientCardCommentProps) {
  9. if (!comment) return null;
  10. return (
  11. <span className={className} title={comment}>
  12. {comment}
  13. </span>
  14. );
  15. }