import { Button, Checkbox, Container, Grid, Group, Paper, ScrollArea, Stack, Text, Title, } from "@mantine/core"; import { LogControls } from "../../molecules/LogControls/LogControls"; import { LogEntry } from "../../atoms/LogEntry/LogEntry"; import type { LogControlsProps } from "../../molecules/LogControls/LogControls"; import type { LogEntryProps } from "../../atoms/LogEntry/LogEntry"; export interface LoggingScreenProps { controls: LogControlsProps; entries: LogEntryProps[]; autoScroll: boolean; onToggleAutoScroll: () => void; onCopyAll: () => void; } export function LoggingScreen({ controls, entries, autoScroll, onToggleAutoScroll, onCopyAll, }: LoggingScreenProps) { return ( Log Stream {entries.length > 0 ? ( {entries.map((entry, index) => ( ))} ) : ( No log entries )} ); }