diff --git a/components/settings/index/SettingsSection.tsx b/components/settings/index/SettingsSection.tsx new file mode 100644 index 000000000..a4c135db6 --- /dev/null +++ b/components/settings/index/SettingsSection.tsx @@ -0,0 +1,19 @@ +import type React from "react"; +import { View } from "react-native"; +import { Text } from "@/components/common/Text"; + +export const SettingsSection: React.FC<{ + title?: string; + children: React.ReactNode; +}> = ({ title, children }) => ( + + {title ? ( + + {title} + + ) : null} + + {children} + + +);