import type { ReactNode } from "react"; import { View } from "react-native"; import { AppText as Text } from "../../../components/AppText"; export function SettingsSection(props: { readonly title?: string; readonly children: ReactNode; /** Force the grouped card background; Android otherwise lists options flat. */ readonly card?: boolean; }) { return ( {props.title ? ( {props.title} ) : null} {props.children} ); }