mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-22 16:51:33 +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>
|
||
|
);
|
||
|
}
|