Files
ontime/apps/client/src/features/viewers/studio/studioClock.options.ts
T
2024-07-10 23:01:47 +02:00

10 lines
388 B
TypeScript

import { getTimeOption, hideTimerSeconds } from '../../../common/components/view-params-editor/constants';
import type { ViewOption } from '../../../common/components/view-params-editor/types';
export const getStudioClockOptions = (timeFormat: string): ViewOption[] => [
{ section: 'Clock Options' },
getTimeOption(timeFormat),
{ section: 'Timer Options' },
hideTimerSeconds,
];