Live video on the AT Protocol
1// this comment is here to stop auto-alphabetizing imports lol
2import { LinkingOptions } from "@react-navigation/native";
3import React from "react";
4import { GestureHandlerRootView } from "react-native-gesture-handler";
5import SharedProvider from "./provider.shared";
6
7export default function Provider({
8 children,
9 linking,
10}: {
11 children: React.ReactNode;
12 linking: LinkingOptions<ReactNavigation.RootParamList>;
13}) {
14 return (
15 <GestureHandlerRootView style={{ flex: 1 }}>
16 <SharedProvider linking={linking}>{children}</SharedProvider>
17 </GestureHandlerRootView>
18 );
19}