UNPKG

pomo-tui

Version:

> A beautiful terminal-based Pomodoro timer built with React Ink

17 lines (16 loc) 489 B
import React from 'react'; import { GradientTheme } from './colors.js'; interface TimerProps { initialSeconds?: number; onActiveChange?: (isActive: boolean) => void; stopTime?: number; initialTheme?: GradientTheme; onComplete?: () => void; onPause?: (remainingTime: number) => void; isCountdown?: boolean; showStopTime?: boolean; } declare const Timer: React.FC<TimerProps>; declare const App: () => React.JSX.Element; export { Timer }; export default App;