import React, { ComponentType } from 'react'; import { useTheme } from './ThemeContext'; import { StyleSheet, View, StyleProp, ViewStyle } from 'react-native'; export type containerDirection = 'column' | 'row' | 'column-reverse' | 'row-reverse'; export type Props = { readonly children: React.ReactNode; readonly direction?: containerDirection; readonly fluid?: boolean; readonly style?: StyleProp; }; const Container: ComponentType = ({ children, fluid = false, direction = 'column', style }: Props) => { const theme = useTheme(); return ( {children} ); }; export default Container;