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

Interface ModalsProps

apps/frontend/app/components/routes/fitness.action/modals.tsx:75–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75interface ModalsProps {
76 stopTimer: () => void;
77 timerDrawerOpened: boolean;
78 startTimer: FuncStartTimer;
79 openTimerDrawer: () => void;
80 closeTimerDrawer: () => void;
81 toggleTimerDrawer: () => void;
82 pauseOrResumeTimer: () => void;
83 bulkDeleteModalOpened: boolean;
84 notificationModalOpened: boolean;
85 closeBulkDeleteModal: () => void;
86 closeNotificationModal: () => void;
87 currentWorkoutExercises?: Array<Exercise>;
88 exerciseToDelete: string | null | undefined;
89 assetsModalOpened: string | null | undefined;
90 supersetWithExerciseIdentifier: string | null;
91 isReorderDrawerOpened: string | null | undefined;
92 setSupersetModalOpened: (value: string | null) => void;
93 setAssetsModalOpened: (value: string | null | undefined) => void;
94 setIsReorderDrawerOpened: (value: string | null | undefined) => void;
95}
96
97export const WorkoutModals = (props: ModalsProps) => (
98 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected