react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

feat: Add SVG support for transformed SVG components in Icon

Open adids1221 opened this issue 4 months ago • 0 comments

Description

Adds comprehensive SVG support for the Icon component by implementing a smart mapper that translates React Native style props (like tintColor) into the appropriate SVG properties (fill, stroke). This enables SVG icons to respond to styling props consistently with regular image icons.

Note: the playground and the svg images will be reverted from this PR after review

TODO: Check on private, check the automatic size?

Changelog

Icon - SVG icons now properly support tintColor and other style props

Additional info

Ticket 4799

adids1221 avatar Aug 20 '25 09:08 adids1221