HoshiAI-app/components/ui/content.tsx
2026-01-02 15:58:21 +01:00

19 lines
425 B
TypeScript

import { ContentPadding } from "@/constants/theme";
import { ReactNode } from "react";
import { ScrollView, StyleSheet } from "react-native";
interface ContentProps {
children?: ReactNode
}
const Content = ({ children }: ContentProps) => {
return <ScrollView style={styles.content}>{ children }</ScrollView>
}
const styles = StyleSheet.create({
content: {
padding: ContentPadding
}
});
export default Content;