This commit is contained in:
Clément Le Bihan
2023-11-28 18:01:54 +01:00
parent 84ea0b3743
commit 95da2cc500
5 changed files with 42 additions and 36 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
import { Pressable, useTheme } from 'native-base';
import React, { useRef } from 'react';
import { Animated, StyleSheet, StyleProp, ViewStyle } from 'react-native';
import { Animated, StyleProp, ViewStyle } from 'react-native';
interface InteractiveBaseProps {
children?: React.ReactNode;
@@ -254,5 +254,4 @@ const InteractiveBase: React.FC<InteractiveBaseProps> = ({
);
};
export default InteractiveBase;
+6 -1
View File
@@ -24,7 +24,12 @@ type ScaffoldCCProps = {
enableScroll?: boolean;
};
const ScaffoldCC = ({ children, routeName, withPadding = true, enableScroll = true }: ScaffoldCCProps) => {
const ScaffoldCC = ({
children,
routeName,
withPadding = true,
enableScroll = true,
}: ScaffoldCCProps) => {
const userQuery = useQuery(API.getUserInfo);
const screenSize = useBreakpointValue({ base: 'small', md: 'big' });