Skip to content

Commit

Permalink
simplified file names
Browse files Browse the repository at this point in the history
  • Loading branch information
onderonur committed Nov 18, 2024
1 parent 7e8d937 commit 92fa6df
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"workbench.editor.labelFormat": "short"
}
2 changes: 1 addition & 1 deletion apps/demo/src/components/infinite-list-simple.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import useInfiniteScroll from 'react-infinite-scroll-hook';
import { useLoadItems } from '../utils';
import { useLoadItems } from '../lib/utils';
import { List, ListItem, Loading } from './list';

export function InfiniteListSimple() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import useInfiniteScroll from 'react-infinite-scroll-hook';
import { useLoadItems } from '../utils';
import { useLoadItems } from '../lib/utils';
import { List, ListItem, Loading } from './list';

export function InfiniteListWithHorizontalScroll() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
import useInfiniteScroll from 'react-infinite-scroll-hook';
import { useLoadItems } from '../utils';
import { useLoadItems } from '../lib/utils';
import { List, ListItem, Loading } from './list';

export function InfiniteListWithReverseHozirontalScroll() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
import useInfiniteScroll from 'react-infinite-scroll-hook';
import { useLoadItems } from '../utils';
import { useLoadItems } from '../lib/utils';
import { List, ListItem, Loading } from './list';

export function InfiniteListWithReverseVerticalScroll() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import useInfiniteScroll from 'react-infinite-scroll-hook';
import { useLoadItems } from '../utils';
import { useLoadItems } from '../lib/utils';
import { List, ListItem, Loading } from './list';

export function InfiniteListWithVerticalScroll() {
Expand Down
File renamed without changes.

0 comments on commit 92fa6df

Please sign in to comment.