Skip to content

samsonroyquickplay/react-native-tv-focus-wrapper

 
 

Repository files navigation

react-native-tv-focus-wrapper

React native tv focus wrapper, this wrapper was made to overcome focus delay issues when setting style from JS thread. Now we only support TVOS and soon androidTV and firestick. One other pending issue is to send animation and focus style from RN.

Installation

npm install react-native-tv-focus-wrapper

Usage

import TvFocusWrapperView from "react-native-tv-focus-wrapper";

// ...
<TvFocusWrapperView>
  <View style={{ width: 100, height: 100, backgroundColor: 'blue' }} />
</TvFocusWrapperView>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 36.1%
  • C++ 16.8%
  • Objective-C++ 10.0%
  • TypeScript 8.9%
  • Objective-C 6.7%
  • Swift 5.8%
  • Other 15.7%