MCPcopy
hub / github.com/IgnisDa/ryot / HeaderProps

Interface HeaderProps

apps/frontend/app/components/routes/fitness.action/header.tsx:37–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35import { StatDisplay } from "./stat-display-and-input";
36
37interface HeaderProps {
38 stopTimer: () => void;
39 isWorkoutPaused: boolean;
40 numberOfExercises: number;
41 isSaveBtnLoading: boolean;
42 toggleTimerDrawer: () => void;
43 shouldDisplayFinishButton: boolean;
44 shouldDisplayCancelButton: boolean;
45 shouldDisplayWorkoutTimer: boolean;
46 shouldDisplayReorderButton: boolean;
47 setIsSaveBtnLoading: (value: boolean) => void;
48 openReorderDrawer: (exerciseIdentifier: string | null) => void;
49 setAssetsModalOpened: (value: string | null | undefined) => void;
50 loaderData: {
51 action: FitnessAction;
52 isUpdatingWorkout: boolean;
53 isCreatingTemplate: boolean;
54 };
55}
56
57export function WorkoutHeader(props: HeaderProps) {
58 const navigate = useNavigate();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected