mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-15 20:34:43 +08:00
feat: Refactor settings management into a dedicated page with new configuration options
This commit is contained in:
37
components/settings/PlaybackSourceSection.tsx
Normal file
37
components/settings/PlaybackSourceSection.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
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",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user