Skip to content

Update index.js#2

Open
jjborie wants to merge 1 commit into
ravi-poonia:masterfrom
jjborie:patch-1
Open

Update index.js#2
jjborie wants to merge 1 commit into
ravi-poonia:masterfrom
jjborie:patch-1

Conversation

@jjborie

@jjborie jjborie commented Jan 29, 2021

Copy link
Copy Markdown

Hi,

If you pass a component as parameter to textComponent, I am receiving a warning:
Warning: Failed prop type: Invalid prop textComponent of type object supplied to PhoneInput, expected function.

<PhoneInput
textComponent={TextInput}
/>

The PropTypes don't look to be correct.

Hi,

If you pass a component as parameter to textComponent, I am receiving a warning:
Warning: Failed prop type: Invalid prop `textComponent` of type `object` supplied to `PhoneInput`, expected `function`.

```
<PhoneInput
textComponent={TextInput}
/>
```

The PropTypes don't look to be correct.
@zizzle6717

zizzle6717 commented Jan 29, 2021 via email

Copy link
Copy Markdown

@jjborie

jjborie commented Feb 10, 2021

Copy link
Copy Markdown
Author

Hi, any news? thanks

@zizzle6717

Copy link
Copy Markdown

I have adopted the project, published v1.0.0, and converted the source to typescript. Let me know if there is anything I can do to improve the change request process. Please submit new pull requests as the package as been moved to https://github.com/rili-live/react-native-phone-input

@kovetskiy

Copy link
Copy Markdown

@zizzle6717 can you enable issues there?

@zizzle6717

Copy link
Copy Markdown

Done. If you would like to be a maintainer, please let me know.

@jjborie

jjborie commented Feb 11, 2021

Copy link
Copy Markdown
Author

@zizzle6717 happy to help, you can add me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants