| 1234567891011121314151617181920 |
- import React from "react";
- import { View } from "react-native";
- import { useTheme } from "@styles";
-
- const Layout = ({ children }) => {
- const { colors } = useTheme();
-
- return (
- <View
- style={{
- flex: 1,
- backgroundColor: colors.background,
- }}
- >
- {children}
- </View>
- );
- };
-
- export default Layout;
|