Tooltip - attribute "ref" is missing typescript (manually programiccally)

Open
#2,957 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react-native, typescript
Domain
mobile

Research direction

Start by reproducing the reported TypeScript error when using the Tooltip component with the listed react-native-elements and React Native versions. The issue does not name a file or test; the work is complete when the Tooltip usage accepts the ref attribute without the reported type error.

Written by the indexing model from the issue text.

Description

🗂 Types

Explain what you did (Required)

Expected behavior (Required)

Describe the bug (Required)

 Property 'ref' does not exist on type 'IntrinsicAttributes & Omit<{ withPointer?: boolean | undefined; popover?: ReactElement<{}, string | JSXElementConstructor<any>> | undefined; ... 14 more ...; closeOnlyOnBackdropPress?: boolean | undefined; } & { ...; }, keyof ThemeProps<...>> & { ...; }'

To Reproduce (Required)

We highly recommend that you re-create the bug on Snack. If not, list the steps that a reviewer can take to reproduce the behaviour:

Screenshots (Required)

image

Your Environment (Required):

software version
react-native-elements 3.3.2
react-native 0.63.4
Dominant language
MDX
Stars
25.9k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-native-elements/react-native-elements

All issues in react-native-elements/react-native-elements

Similar issues

More Mobile Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.