import React from "react"; import { StyleSheet } from "react-native"; import { SafeAreaView } from "react-native-safe-area-context"; import { SharedValue } from "react-native-reanimated"; import { ReText } from "./ReText"; interface DebugViewProps { values: Record | number | boolean>; } export const DebugView = ({ values }: DebugViewProps) => { return ( {Object.keys(values).map((key) => { const value = values[key]; if (value === undefined) return null; return ( ); })} ); }; export const styles = StyleSheet.create({ container: { position: "absolute", right: 4, bottom: 0, padding: 2, backgroundColor: "rgba(0, 0,0,0.5)", pointerEvents: "none", }, text: { fontSize: 14, lineHeight: 16, textAlignVertical: "center", height: 20, padding: 0, color: "white", }, });