react-native-icon-badge icon indicating copy to clipboard operation
react-native-icon-badge copied to clipboard

Cannot modify width to be smaller than default width

Open mdurban opened this issue 5 years ago • 0 comments

<IconBadge MainElement={<Image source={require('path/to/image.png'} />} IconBadgeStyle={{ width:10, height:10, borderRadius:5, }} />

In this example, the height of the badge changes but the width does not.

I think that this is because the source code is using minWidth instead of width.

mdurban avatar Jul 31 '19 17:07 mdurban