15 lines · 516 B · TypeScript
RawDownload
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 }) {  return (    <View className="gap-2">      <Text className="px-2 text-sm font-t3-medium text-foreground-muted">{props.title}</Text>      <View className="overflow-hidden rounded-[28px] border-continuous bg-card">        {props.children}      </View>    </View>  );}