POWR/components/layout/TabScreen.tsx
2025-02-15 14:03:42 -05:00

23 lines
411 B
TypeScript

// components/layout/TabScreen.tsx
import React from 'react';
import { View, ViewProps } from 'react-native';
interface TabScreenProps extends ViewProps {
children: React.ReactNode;
}
export function TabScreen({
children,
style,
...props
}: TabScreenProps) {
return (
<View
className="flex-1 bg-background"
style={style}
{...props}
>
{children}
</View>
);
}