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

Make possible to use size in percentage

Open Strate opened this issue 5 years ago • 2 comments

Hello. It is actually works (I can specify size in percentage for react-native-svg component), but emits warning. This PR removes that warning and allows to specify icon size in percentage

Strate avatar Nov 25 '20 11:11 Strate

@Strate can you speak more about why you needed percentage? This has me scratching my head a bit. I'm not against percentage but I'd like to understand it first.

robmadole avatar May 27 '22 21:05 robmadole

@robmadole I would also really benefit from this!

For example, I have a grid of icons that scale with the device size (i.e. each icon is 1/4 of the device width) and ideally being able to set the icons to automatically adopt that width instead of being limited to a specific number would make that much easier to accomplish.

This is likely fairly common with mobile devices, where many slightly different screen sizes could affect this functionality

brhx avatar Jun 19 '22 12:06 brhx