Skip to content

Commit

Permalink
refactor(scrollview): split into subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpo committed Aug 1, 2024
1 parent 7e28870 commit 05b6b5e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { ViewStyle, ScrollView } from 'react-native';
import { CustomScrollView } from './CustomScrollView';
import { CustomScrollView } from './CustomScrollView/CustomScrollView';
import { CustomScrollViewRef } from './types';

type Props = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable react-native/no-inline-styles */
import { Animated, LayoutChangeEvent, View, ViewStyle } from 'react-native';
import { forwardRef, useCallback, useRef, useState } from 'react';
import { CustomScrollViewRef } from './types';
import { CustomScrollViewRef } from '../types';
import { useStyle } from './CustomScrollView.hooks';

type Props = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
} from '../../context/ParentScrollContext';
import { scrollToNewlyFocusedElement } from '../../helpers/scrollToNewlyfocusedElement';
import { mergeRefs } from '../../helpers/mergeRefs';
import { useRemotePointerScrollviewScrollProps } from './useRemotePointerScrollviewScrollProps';
import { PointerScrollArrows } from './PointerScrollArrows';
import { useRemotePointerScrollviewScrollProps } from './pointer/useRemotePointerScrollviewScrollProps';
import { PointerScrollArrows } from './pointer/PointerScrollArrows';
import { CustomScrollViewRef } from './types';
import { AnyScrollView } from './AnyScrollView';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback, useMemo } from 'react';
import { Platform } from 'react-native';
import { useSpatialNavigationDeviceType } from '../../context/DeviceContext';
import { CustomScrollViewRef } from './types';
import { useSpatialNavigationDeviceType } from '../../../context/DeviceContext';
import { CustomScrollViewRef } from '../types';

export const useRemotePointerScrollviewScrollProps = ({
pointerScrollSpeed,
Expand Down

0 comments on commit 05b6b5e

Please sign in to comment.