mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-23 01:01:27 +00:00
23 lines
411 B
TypeScript
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>
|
|
);
|
|
} |