Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify width to be smaller than default width #16

Open
mdurban opened this issue Jul 31, 2019 · 0 comments
Open

Cannot modify width to be smaller than default width #16

mdurban opened this issue Jul 31, 2019 · 0 comments

Comments

@mdurban
Copy link

mdurban commented Jul 31, 2019

<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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant