-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component: Avatar #13292
Comments
It seems that the AvatarGroupModule import is missing from the imports array in the app.module.ts file. Simply adding this import should resolve the issue and make it work as intended. |
Hi @tomavic, as @TolgaYigit said you should add |
Thanks @TolgaYigit & @SoyDiego for reply. However this module is not mentioned in the documentation. Also please confirm that this module Finally, I would have applied the desired style without importing the module and applied this simple style to my example .avatar-group p-avatar + p-avatar {
margin-left: -1rem;
}
and in html <div class="flex justify-content-center avatar-group">
<p-avatar
*ngFor="let item of items"
[label]="item.name"
styleClass="border-1"
size="large"
shape="circle"></p-avatar>
</div> |
I don't know what version of PrimeNG are you using exactly, but I downloaded PrimeNG 15.4.1 and it have the |
@SoyDiego |
[#13292] - added import AvatarGroupModule to docs
Describe the bug
There is no actual component with the name
p-avatarGroup
Your example is actually not working :)
https://codesandbox.io/s/ceg08p
Environment
ng 15
Reproducer
https://codesandbox.io/s/ceg08p
Angular version
15
PrimeNG version
15
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: