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