Skip to content

Commit 125e853

Browse files
authored
Update README.md
1 parent 82ca043 commit 125e853

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ If you want to add your personalized avatar provider, Follow the below steps:
118118

119119
And that's it <img src="github-content/smiley.png" width="20px">.
120120

121+
## Pro tip
122+
123+
This package can be used outside of **Filament** too, you can add the trait `Devaslanphp\FilamentAvatar\Core\HasAvatarUrl` to your user model.
124+
125+
This trait will give you access to an appended attribute `avatarUrl` generated by the avatar provider, then you can use it as a `src` of your images.
126+
121127
## Credits
122128

123129
- [heloufir](https://github.com/heloufir)

0 commit comments

Comments
 (0)