import { ReactNode } from 'react';
import { ViewStyle } from 'react-native';
import { SafeAreaView } from 'react-native-safe-area-context';
export type ContainerProps = {
/** Content to render inside the container */
children: ReactNode;
/** Background color */
backgroundColor?: string;
/** Apply padding to the container */
padding?: boolean;
/** Custom padding value (overrides default) */
paddingValue?: number;
/** Additional styles */
style?: ViewStyle;
/** CSS class names (NativeWind/Tailwind) */
className?: string;
};
/**
* Safe area container component that wraps content with padding and safe area handling.
*
* @example
* ```tsx
*
* Content
*
*
*
* Custom container
*
* ```
*/
export const Container = ({
children,
backgroundColor = '#FFFFFF',
padding = true,
paddingValue = 24,
style,
className = '',
}: ContainerProps) => {
return (
{children}
);
};