• Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

123
Views
TypeScript error on <Text> for native paper

A while ago all my <Text> components started giving TypeScript errors for missing attributes (onPressIn and onPressOut). Now, I would prefer not to add all these attributes with undefined values to all my <Text> components.

How do I fix this? And are these attributes suddenly required?

enter image description here

9 months ago · Juan Pablo Isaza
1 answers
Answer question

0

It seems there's a typing problem with react-native-paper, you can check the issue here

Use these latest packages to remove the error based on the:

react-native-paper 4.10.1
react-native 0.66.3
@types/react-native 0.66.4

here is the link to the solution

9 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.