question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Avatar] icon -> type prop should default to 'material', not 'font-awesome'

See original GitHub issue

Every other component that uses <Icon />, including the <Icon /> component itself, uses material as the default icon library if no type is specified. Avatar should be no different.

See: https://github.com/react-native-training/react-native-elements/blob/master/src/avatar/Avatar.js#L100

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
Monte9commented, Jun 13, 2017

@gsklee good catch. Will do so soon. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Font Awesome Icons in material-ui Button - Stack Overflow
I tried the first one as in the link but I get an error like "TypeError: Cannot read property 'icon' of undefined" Can...
Read more >
Avatar - React Native Elements
Displays an icon as the main content of the Avatar. Cannot be used alongside title. When used with the source prop it will...
Read more >
FontAwesome v5? · Issue #1338 · react-native-elements/react ...
I cannot find anything concerning FontAwesome v5. ... FontAwesome5 from 'react-native-vector-icons/FontAwesome5'; export default props => { if (props.type ...
Read more >
React Icon Component - Material UI - MUI
To import the icon component with a theme other than the default, append the theme name to the icon name. For example @mui/icons-material/Delete...
Read more >
How To Use Font Awesome icons in Angular Applications
In this tutorial I will explain how to use Font Awesome icons in Angular applications using @fortawesome/angular-fontawesome package.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found