shirakaba / react-nativescript

React renderer for NativeScript
https://react-nativescript.netlify.com
MIT License
280 stars 14 forks source link

The React components for all NativeScript elements that extend view should also inherit a View component #15

Closed shirakaba closed 5 years ago

shirakaba commented 5 years ago

This would allow inheritance of all of that View component's event listener-handling code.

shirakaba commented 5 years ago

Already implemented for ContentView and Page; will need to be done for all remaining components, and a variation will be needed for all text-based components.

shirakaba commented 5 years ago

TextBase and LayoutBase abstract components made now.

All layouts now extend from that LayoutBase, and Button extends from TextBase!

shirakaba commented 5 years ago

At great effort, this is now implemented!