import { Mutation } from "@tanstack/react-query"; import DataExplorer from "./Explorer"; import { ScrollView, Text, View, StyleSheet } from "react-native"; import MutationDetails from "./MutationDetails"; import { gameUIColors } from "@react-buoy/shared-ui"; interface Props { selectedMutation: Mutation | undefined; } /** Detailed information block for a selected mutation within the modal experience. */ export default function MutationInformation({ selectedMutation }: Props) { return ( Variables Details Context Details Data Explorer Mutations Explorer ); } const styles = StyleSheet.create({ flex1: { flex: 1, backgroundColor: gameUIColors.background, }, scrollContent: { paddingBottom: 16, paddingHorizontal: 8, }, section: { marginBottom: 16, }, textHeader: { textAlign: "left", backgroundColor: gameUIColors.panel, padding: 12, fontSize: 12, fontWeight: "700", color: gameUIColors.primary, borderTopLeftRadius: 8, borderTopRightRadius: 8, borderBottomWidth: 1, borderBottomColor: gameUIColors.border + "40", fontFamily: "monospace", letterSpacing: 1, textTransform: "uppercase", }, padding: { padding: 12, backgroundColor: gameUIColors.panel + "80", borderBottomLeftRadius: 8, borderBottomRightRadius: 8, borderWidth: 1, borderColor: gameUIColors.border + "40", borderTopWidth: 0, }, });