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;