merge
This commit is contained in:
@@ -8,12 +8,7 @@ import { useLocation } from "@tanstack/react-router";
|
|||||||
|
|
||||||
const THRESHOLD = 80;
|
const THRESHOLD = 80;
|
||||||
|
|
||||||
interface PullableProps extends PropsWithChildren {
|
const Pullable: React.FC<PropsWithChildren> = ({ children }) => {
|
||||||
scrollPosition: { x: number, y: number };
|
|
||||||
onScrollPositionChange: (position: { x: number, y: number }) => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
const Pullable: React.FC<PullableProps> = ({ children, scrollPosition, onScrollPositionChange }) => {
|
|
||||||
const height = useAppShellHeight();
|
const height = useAppShellHeight();
|
||||||
const [isRefreshing, setIsRefreshing] = useState(false);
|
const [isRefreshing, setIsRefreshing] = useState(false);
|
||||||
const [scrolling, setScrolling] = useState(false);
|
const [scrolling, setScrolling] = useState(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user