mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-11 15:45:00 +03:00
658e6ab3d3
* feat(frontend): show client comments on mobile cards * fix(frontend): bound mobile comment height --------- Co-authored-by: sanmaxdev <sanmaxdev@users.noreply.github.com>
14 lines
318 B
TypeScript
14 lines
318 B
TypeScript
type ClientCardCommentProps = {
|
|
comment?: string;
|
|
className?: string;
|
|
};
|
|
|
|
export default function ClientCardComment({ comment, className = 'client-card-comment' }: ClientCardCommentProps) {
|
|
if (!comment) return null;
|
|
|
|
return (
|
|
<span className={className} title={comment}>
|
|
{comment}
|
|
</span>
|
|
);
|
|
} |