mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-17 08:40:59 +00:00
feat(frontend): show client comments on mobile cards (#5942)
* feat(frontend): show client comments on mobile cards * fix(frontend): bound mobile comment height --------- Co-authored-by: sanmaxdev <sanmaxdev@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1cfd7b49b0
commit
658e6ab3d3
@@ -0,0 +1,14 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user