Skip to content

Commit 4a2418e

Browse files
committed
USe empty object
1 parent 0a64f96 commit 4a2418e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/react-native-gesture-handler/src/components

packages/react-native-gesture-handler/src/components/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ type TVProps = {
1212
* the only place the `focusable` prop is translated into `isTVSelectable`, which actually drives
1313
* tvOS focusability.
1414
*/
15-
export function getTVProps(props: TVProps): TVProps | null {
15+
export function getTVProps(props: TVProps): TVProps {
1616
if (!Platform.isTV) {
17-
return null;
17+
return {};
1818
}
1919

2020
return {

0 commit comments

Comments
 (0)