Skip to content

fix(avatar): refactor props and some styles#267

Open
alex-britto wants to merge 1 commit intorefactor-v2from
fix/avatar-adjustments
Open

fix(avatar): refactor props and some styles#267
alex-britto wants to merge 1 commit intorefactor-v2from
fix/avatar-adjustments

Conversation

@alex-britto
Copy link
Copy Markdown

  • Remove as propriedades letter e children.
  • Adiciona propriedade name.
  • Corrige border-radius de acordo com o Figma para a a variant Variant.
  • Corrige visualização do status, que está ficando recortado quando a prop avatar está vazia.

}
}

const formatInitials = name => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Eu acho melhor adicionar essa função em utils e importar dentro do arquivo do avatar, o que tu acha?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants