feat: Add pm
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<button
|
||||
type="button"
|
||||
[attr.data-testid]="'friend-button-' + userId()"
|
||||
class="grid h-8 w-8 place-items-center rounded-md border border-border bg-secondary text-foreground transition-colors hover:bg-secondary/80"
|
||||
[attr.aria-pressed]="isFriend()"
|
||||
[attr.aria-label]="isFriend() ? 'Remove friend' : 'Add friend'"
|
||||
[title]="isFriend() ? 'Remove friend' : 'Add friend'"
|
||||
(click)="toggle($event)"
|
||||
>
|
||||
<ng-icon
|
||||
[name]="isFriend() ? 'lucideUserCheck' : 'lucideUserPlus'"
|
||||
class="h-4 w-4"
|
||||
/>
|
||||
</button>
|
||||
Reference in New Issue
Block a user