@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 10 lines 338 Bytes
Raw
1 import { createContext, useContext } from "react";
2 import type { NativeScrollEvent, NativeSyntheticEvent } from "react-native";
3
4 export const FabScrollContext = createContext<
5 ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined
6 >(undefined);
7
8 export function useFabScroll() {
9 return useContext(FabScrollContext);
10 }