cs-2022-class-profile/components/Timeline.tsx

28 lines
516 B
TypeScript

import React from "react";
interface TimelineData {
time: string;
text: string;
}
interface TimelineProps {
data: TimelineData[];
/** Distance between consecutive nodes on timeline, in pixels */
nodeGap?: number;
/** Whether the time is transformed to uppercase */
isTimeUppercase?: boolean;
className?: string;
}
export default function Timeline({
data,
nodeGap = 40,
isTimeUppercase = true,
}: TimelineProps) {
return <div></div>;
}
function TimelineSection() {
return <div></div>;
}