Skip to content

Commit ebbacb9

Browse files
amilamenthePunderWoman
authored andcommitted
docs: more readable standalone importing component example (angular#54196)
PR Close angular#54196
1 parent 3b892e9 commit ebbacb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adev/src/content/guide/components/importing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class ProfilePhoto { }
2222
imports: [ProfilePhoto],
2323
template: `<profile-photo />`
2424
})
25+
export class UserProfile { }
2526
</docs-code>
2627

2728
Standalone components are directly importable into other standalone components.

0 commit comments

Comments
 (0)