-
Notifications
You must be signed in to change notification settings - Fork 637
Open
Description
Because of the migration from class Component to Function Component, ts gives an error when trying to use ref prop in the Pdf component. Any other suggestion on how to access setPage() function?
Type '{ source: { uri: string; }; style: { flex: number; backgroundColor: string; }; horizontal: false; enablePaging: true; enableAnnotationRendering: true; enableAntialiasing: true; trustAllCerts: false; ... 4 more ...; ref: RefObject<...>; }' is not assignable to type 'IntrinsicAttributes & PdfProps'. Property 'ref' does not exist on type 'IntrinsicAttributes & PdfProps'.ts(2322)
Metadata
Metadata
Assignees
Labels
No labels