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.

use MaterialCommunityIcons instead of MaterialIcons

See original GitHub issue

Describe the feature

Use MaterialCommunityIcons instead of MaterialIcons by default in all the components that take the icon prop.

Motivation

I found out MaterialIcons lacks a lot of icons like logout of thumb-up-outline. But MaterialCommunityIcons looks like MaterialIcons and also have lots of other useful icons. Is there a reason you chose MaterialIcons? at least we can let the devs to select their preferences.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

15reactions
connercmscommented, Mar 23, 2019

you can render any icon you want from react-native-vector-icons by passing it as a prop

example

<IconButton 
icon={({ size, color}) => (
    <MaterialCommunityIcons 
    name={'logout'} 
    size={size} 
    color={color}/>
)} 
onPress={this.onPress}
/>
6reactions
satya164commented, Mar 23, 2019

We’ll switch to MaterialCommunityIcons in 3.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use material community icons with react-native-vector ...
Follow the below steps -. Step - 1: Import the icon family. import { MaterialCommunityIcons } from '@expo/vector-icons';.
Read more >
Example to Use React Native Vector Icons
Example contains how to integrate and use Vector Icons in React Native ... MaterialIcons by Google, Inc. (v3.0.1, 932 icons); MaterialCommunityIcons by ...
Read more >
Material Icons Guide | Google Fonts
Material design system icons are simple, modern, friendly, and sometimes quirky. Each icon is created using our design guidelines to depict in simple...
Read more >
material-icons - npm
Start using material-icons in your project by running `npm i ... filled.css and outlined.css instead of the default material-icons.css :.
Read more >
Material Symbols and Icons - Google Fonts
Material Symbols are our newest icons consolidating over 2500 glyphs in a single font file with a wide range of design variants.
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