UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

16 lines (15 loc) 586 B
import { ISpanDuration } from '../../core/ISpanDuration'; import { default as React } from 'react'; import { IRuntimeEvent } from '../../core/IRuntimeEvent'; export interface WodTimerProps { className?: string; /** Default primary time span */ primary?: ISpanDuration; /** Default total time span */ total?: ISpanDuration; /** Stream of events for updating clocks */ events?: IRuntimeEvent[] | undefined; /** Child components to render (typically ClockAnchors) */ children?: React.ReactNode; } export declare const WodTimer: React.FC<WodTimerProps>;