import type { Dispatch, SetStateAction } from "react"; import { Query } from "@tanstack/react-query"; import QueryDetails from "./QueryDetails"; import QueryActions from "./QueryActions"; import DataExplorer from "./Explorer"; import { View, Text, ScrollView, StyleSheet } from "react-native"; interface Props { setSelectedQuery: Dispatch>; selectedQuery: Query | undefined; } /** * Stacked detail view combining metadata, actions, and explorers for the selected query. */ export default function QueryInformation({ selectedQuery, setSelectedQuery, }: Props) { return ( Data Explorer Query Explorer ); } const styles = StyleSheet.create({ flexOne: { flex: 1, backgroundColor: "#171717", }, scrollContent: { paddingBottom: 16, paddingHorizontal: 8, }, section: { marginBottom: 16, }, headerText: { fontSize: 16, fontWeight: "600", color: "#FFFFFF", marginBottom: 8, textAlign: "left", }, contentView: { backgroundColor: "rgba(255, 255, 255, 0.03)", borderRadius: 12, borderWidth: 1, borderColor: "rgba(255, 255, 255, 0.08)", padding: 16, }, });