[proposal] add size prop to ListItem icons' configuration options
See original GitHub issueCurrently 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:
- Created 6 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks again for the proposal @raduflp, this is released in
v1.0.0-beta2
👍@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