Skip to content

Commit 4489089

Browse files
feat(components): prepare post-avatar component for stencil update (#5148)
Co-authored-by: Philipp Gfeller <[email protected]>
1 parent 3ca6465 commit 4489089

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/silly-turtles-notice.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-components': patch
3+
---
4+
5+
Added the `reflect: true` option to the `post-avatar` component property `firstname` to prepare the component for the next stencil update.

packages/components/src/components/post-avatar/post-avatar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class PostAvatar {
3232
/**
3333
* Defines the users firstname.
3434
*/
35-
@Prop() readonly firstname!: string;
35+
@Prop({ reflect: true }) readonly firstname!: string;
3636

3737
/**
3838
* Defines the users lastname.

0 commit comments

Comments
 (0)