React-native-tab-view: Typescript typings

Created on 24 Apr 2017  路  8Comments  路  Source: satya164/react-native-tab-view

Hey man! Great library. Just wondering if you're interesting in having typescript definitions for this library (for those wanting to use react native with typescript). I already have stubbed them out in a few of my projects. Let me know @fson

Most helpful comment

@CharlesMangwa Haha thanks for reminder

All 8 comments

Hey @iRoachie can you please share your typings? 馃槃

lol @ligaz they're are far from complete since I haven't used all the methods/props. Lol I wish there was a table in readme like showing the all the props and their values

@ligaz I could make it a public gist and we could work on it

Not opposed to have typings, but they need to stay up-to-date. So if you want to maintain them, feel free to send a PR with the typings (also maybe a test case to ensure I don't break them accidentally) :D

The library is fully-typed with Flow. You can find the exported flow types at https://github.com/react-native-community/react-native-tab-view/blob/master/types.js

For the prop types of individual components like TabBar and TabViewAnimated, you need to check the individual files.

@satya164 Thanks! That makes it 10x easier. Will start work on it

Closing (waiting for @iRoachie PR 馃槈).

@CharlesMangwa Haha thanks for reminder

WIP here #271

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashusdn picture ashusdn  路  4Comments

t3chnoboy picture t3chnoboy  路  3Comments

KingAmo picture KingAmo  路  3Comments

compojoom picture compojoom  路  4Comments

lubomyr picture lubomyr  路  3Comments