Kyle Alwyn
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
packages/icons-react-native/src/createReactNativeComponent.ts
|
|
@ -12,7 +12,8 @@ const createReactNativeComponent = ( |
|
|
|
const Component = forwardRef<SVGSVGElement, IconProps>( |
|
|
|
({ 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, |
|
|
|
}; |
|
|
|