Skip to content

Commit

Permalink
Merge pull request #13296 from SoyDiego/improve-avatar-docs
Browse files Browse the repository at this point in the history
[#13292] - added import AvatarGroupModule to docs
  • Loading branch information
cetincakiroglu committed Jul 6, 2023
2 parents 6de04d9 + 848d85e commit e1f8c18
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 109 deletions.
2 changes: 1 addition & 1 deletion src/app/showcase/doc/avatar/avatargroupdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Code } from '../../domain/code';
selector: 'avatar-group-demo',
template: ` <section>
<app-docsectiontext [title]="title" [id]="id">
<p>Grouping is available by wrapping multiple Avatar components inside an AvatarGroup.</p>
<p>Grouping is available by wrapping multiple Avatar components inside an <i>AvatarGroup</i>.</p>
</app-docsectiontext>
<div class="card justify-content-center">
<p-avatarGroup styleClass="mb-3">
Expand Down
3 changes: 2 additions & 1 deletion src/app/showcase/doc/avatar/importdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class ImportDoc {
@Input() title: string;

code: Code = {
html: `import { AvatarModule } from 'primeng/avatar';`
html: `import { AvatarModule } from 'primeng/avatar';
import { AvatarGroupModule } from 'primeng/avatargroup';`
};
}
Loading

1 comment on commit e1f8c18

@vercel
Copy link

@vercel vercel bot commented on e1f8c18 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.