Benjamin-Dobell / react-native-markdown-view

MarkdownView for React Native
MIT License
190 stars 77 forks source link

Typescript type definition #26

Closed rodrigoelp closed 4 years ago

rodrigoelp commented 6 years ago

Browsing the repo I can see there is no typescript type definition, do you guys have the API documentation that I can use to generate the definition?

Benjamin-Dobell commented 6 years ago

Flowtype is used internally, so I believe it should be fairly straight-forward to convert these to TypeScript definitions. Pull requests are welcome.

rodrigoelp commented 6 years ago

Hi @Benjamin-Dobell, You will find the pull request #29 in which I have added the type definition.

I've test it but it does not cover the entire API as I couldn't find an example of how to consume it with rules (for instance)

rodrigoelp commented 5 years ago

About a year since I contributed here. No answer though

lyqht commented 5 years ago

@Benjamin-Dobell Bump!

Benjamin-Dobell commented 4 years ago

Closed by #29.