react-native-tv-focus-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

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

Package Sidebar

Install

npm i react-native-tv-focus-wrapper

Weekly Downloads

54

Version

0.2.9

License

MIT

Unpacked Size

56.7 kB

Total Files

26

Last publish

Collaborators

  • donaldosebas