test: add initial test files and component stubs
This commit is contained in:
committed by
Loic Coenen (aider)
parent
5a6de57a91
commit
826069e8dd
13
src/containers/DigitalClock.tsx
Normal file
13
src/containers/DigitalClock.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { useState } from 'react';
|
||||
import { useCurrentTime } from '../hooks/useCurrentTime';
|
||||
import { dateToDigital } from '../utils';
|
||||
|
||||
interface DigitalClockProps {
|
||||
enabled: boolean;
|
||||
}
|
||||
|
||||
export function DigitalClock({ enabled }: DigitalClockProps) {
|
||||
const { currentTime } = useCurrentTime();
|
||||
const digital = dateToDigital(currentTime);
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user