netceteragroup / react-native-twitterkit

A React Native wrapper around Fabric's TwitterKit.
MIT License
22 stars 10 forks source link

Wrap RNTwitterKit with a plain JS view class and provide propTypes. #1

Open ognen opened 7 years ago

ognen commented 7 years ago

The RNTwitterKit native module should be wrapped with a pure JS react component called TweetView.

This allows propTypes to be declared and documented in a way that is understandable for the JS users of the library.

TweetView should be the default export of the index.js.

See https://facebook.github.io/react-native/docs/native-components-ios.html#properties

andianton commented 7 years ago