oktaysenkan / monicon

Universal Icon Library
https://monicon-docs.vercel.app
247 stars 9 forks source link

added width prop in Iconify.tsx #1

Closed ubaidjs closed 1 year ago

ubaidjs commented 1 year ago

Size of icons was not changing when passing any value to size prop in iOS. Added width prop in Iconify.tsx worked.

oktaysenkan commented 1 year ago

Are you tried this on not square icon? I think 32x24 icon will be not displaying correctly. Can you provide screenshots before changes and after changes?

wojciechkrol commented 1 year ago

@oktaysenkan Could you provide an example of a not square icon? I have the same issue and want to test all possible cases.

https://github.com/oktaysenkan/react-native-iconify/assets/14108143/25029a48-1e8d-4bb0-bdfe-0e6e15239d48

oktaysenkan commented 1 year ago

Thanks for contributing 🎉

oktaysenkan commented 1 year ago

simulator_screenshot_02985771-1715-442C-9127-415FBCD71FB9

I added support for not square icons. It is available on v0.2.6