Files
OrionTV/components/settings/PlaybackSourceSection.tsx

38 lines
917 B
TypeScript

import React from "react";
import { StyleSheet } from "react-native";
import { ThemedText } from "@/components/ThemedText";
import { ThemedView } from "@/components/ThemedView";
interface PlaybackSourceSectionProps {
onChanged: () => void;
}
export const PlaySourceSection: React.FC<PlaybackSourceSectionProps> = ({ onChanged }) => {
return (
<ThemedView style={styles.section}>
<ThemedText style={styles.sectionTitle}></ThemedText>
<ThemedText style={styles.placeholder}>线</ThemedText>
</ThemedView>
);
};
const styles = StyleSheet.create({
section: {
padding: 20,
marginBottom: 16,
borderRadius: 12,
borderWidth: 1,
borderColor: "#333",
},
sectionTitle: {
fontSize: 20,
fontWeight: "bold",
marginBottom: 16,
},
placeholder: {
fontSize: 14,
color: "#888",
fontStyle: "italic",
},
});