Open ahnafnafee opened 2 years ago
Thanks @ahnafnafee, working on a fix
+1
Any news? Sadly, this issue still exists.
any update?
As a temporary fix for typescript add the code mention in the comment - https://github.com/avishayil/react-native-user-avatar/issues/60#issue-696662504 to an index.d.ts
file and refer it in you tsconfig.json
file.
For example I have create file with the above code in src/types/libs/react-native-user-avatar/index.d.ts and added it to to tsconfig as shown below
"compilerOptions": {
"strict": true,
"paths": {
"*": [ "./src/types/libs/*"]
}
}
any update to textStyle?
Using version v1.0.8.
Referred to these two issues first (#62 and #60 ) where it was mentioned it was resolved in v1.0.8 but I am still getting the issue.
Here's how the types are referenced in
package.json
forreact-native-user-avatar
in v1.0.8