Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(Avatar): extract initials from fallback string #164

Merged

Conversation

arturbien
Copy link
Collaborator

  • Allow to just pass any string as a fallback and Avatar will display initials (first letters of the first and last segment)
  • Export getInitials() function

Copy link

linear bot commented Jun 4, 2024

Copy link
Contributor

github-actions bot commented Jun 4, 2024

Unimported Action report

Summary

Project Status Unused Deps Unresolved Deps Unimported Files
packages/frosted-ui - - -

@arturbien arturbien marked this pull request as ready for review June 4, 2024 13:52
@arturbien arturbien requested a review from baked-dev as a code owner June 4, 2024 13:52
@arturbien arturbien force-pushed the artur/core-1663-standardise-fui-avatar-fallback-initials branch from f60d6bd to c67b463 Compare June 4, 2024 13:55
@arturbien arturbien force-pushed the artur/core-1663-standardise-fui-avatar-fallback-initials branch from c67b463 to 5b43909 Compare June 4, 2024 13:56
@arturbien arturbien merged commit 88ed835 into main Jun 4, 2024
5 of 7 checks passed
@kodiakhq kodiakhq bot deleted the artur/core-1663-standardise-fui-avatar-fallback-initials branch June 4, 2024 14:48
arturbien pushed a commit that referenced this pull request Jun 4, 2024
### General Changes

- feat(Avatar): extract initials from fallback string (#164)

### Credits
@arturbien

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant