import React from 'react'; import { Input } from '@/components/ui/input'; import { Button } from '@/components/ui/button'; const PRIORITY_OPTIONS = [ { value: '', label: 'All' }, { value: '0', label: 'Emergency' }, { value: '1', label: 'Alert' }, { value: '2', label: 'Critical' }, { value: '3', label: 'Error' }, { value: '4', label: 'Warning' }, { value: '5', label: 'Notice' }, { value: '6', label: 'Info' }, { value: '7', label: 'Debug' }, ]; export function JournalControls({ unit = '', onUnitChange, unitLabel = 'Service/Unit', unitPlaceholder = 'All services', quickUnits = [], showQuickUnits = true, lineCount, onLineCountChange, lineCountOptions = [50, 100, 200, 500], priority, onPriorityChange, showPriority = true, loading = false, onLoad, loadLabel = 'Load Logs', }) { return (