Closed jbejas closed 4 months ago
It's not a bug – the stroke
property is for setting the color of the stroke/icon. To change the width of the stroke, you should use the strokeWidth
property, which accepts numbers.
See more at: https://tabler.io/docs/icons/react-native.
Description
You cannot set the stroke prop value to any Icon as it does not accept a Number value. It requires a ColorValue value. If the stroke prop is set, the icon dissapears.
"Type 'number' is not assignable to type 'ColorValue'."
Package
Version
3.11.0
Browser
Operating system
Steps to reproduce
Checklist