diff --git a/packages/icons-react-native/src/createReactNativeComponent.ts b/packages/icons-react-native/src/createReactNativeComponent.ts index e14ee9323..a34610def 100644 --- a/packages/icons-react-native/src/createReactNativeComponent.ts +++ b/packages/icons-react-native/src/createReactNativeComponent.ts @@ -12,7 +12,8 @@ const createReactNativeComponent = ( const Component = forwardRef( ({ color = 'currentColor', size = 24, strokeWidth = 2, title, children, ...rest }: IconProps, ref) => { const customAttrs = { - stroke: color, + stroke: type === "filled" ? "none" : color, + fill: type === "filled" ? color : "none", strokeWidth, ...rest, };