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.

[proposal] add size prop to ListItem icons' configuration options

See original GitHub issue

Currently the size of the left/right icon in ListItem can be modified only through { style: {fontSize} } Personally I think it would be more intuitive to add a size configuration that would adjust the Icon size prop. I think it’s a common enough scenario that would justify the change. Happy to make a pull request if we agree on that.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
xavier-villelegiercommented, Jan 28, 2018

Thanks again for the proposal @raduflp, this is released in v1.0.0-beta2 👍

1reaction
Monte9commented, Jan 28, 2018

@k3ithl1m this has been fixed in this PR: https://github.com/react-native-training/react-native-elements/pull/852 and will be released in beta-2 today

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change style of children in MaterialUI only in one element
It changes setting for every Icon size in my project. My component function Section(props) { const classes = useStyles(); const { ...
Read more >
React Native Elements UI Toolkit - GitHub
Icons & Icon Buttons​​ Icons take the name of a material icon as a prop. You can override Material icons with one of...
Read more >
ListItemIcon API - Material UI - MUI
A simple wrapper to apply List styles to an Icon or SvgIcon . Component name. The name MuiListItemIcon can be used when providing...
Read more >
Icons · React Native Paper - Open Source
Configuring icons​​ If you opted out of vector icons support using babel-plugin-optional-require, you won't be able to use icon names for the icon...
Read more >
Global Styling with Material-UI Theme Overrides and Props
Learn how to use global CSS overrides and default props in a theme to customize all instances of a Material-UI component in a...
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