// Rôle : rend les contrôles et la liste d'étapes du chronomètre timer. import { useState } from "react"; import { Icon } from "../../../components/Icon.jsx"; import { handleEditableKeyDown } from "./timerOptions.js"; import { EditableTimerLabel, TimerValue } from "./TimerSharedControls.jsx"; export function StopwatchControls({ textContent, elapsedMs, running, onStart, onPause, onReset, onLap }) { return (
{textContent.stopwatchTitle || "Chronomètre à étapes"}
); } export function StopwatchLapList({ laps, textContent, onRename, onDelete }) { const [editingId, setEditingId] = useState(""); if (!laps.length) return

{textContent.emptySteps || "Aucune étape enregistrée."}

; return ( ); }