Skip to content

Conversation

@agazso
Copy link

@agazso agazso commented Jun 12, 2020

The onLinkPress prop according to the code and the doc is optional but in the Typescript definition it is not optional. This PR fixes that.

For more references see:

link: (node, children, parent, styles, onLinkPress) => (

https://github.com/iamacup/react-native-markdown-display/blame/3a40953000ae23ebbfb9fb057ac4622f15255f7e/README.md#L68

This issue is also related:
#73

@iamacup
Copy link
Owner

iamacup commented Jun 12, 2020

Magic, thanks so much!

@iamacup iamacup merged commit ecae5c8 into iamacup:master Jun 12, 2020
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.

2 participants