diff --git a/frontend/src/components/CardHeader.tsx b/frontend/src/components/CardHeader.tsx new file mode 100644 index 0000000..66e0fb4 --- /dev/null +++ b/frontend/src/components/CardHeader.tsx @@ -0,0 +1,18 @@ +import type { ElementType } from "react"; + +type Props = { + icon: ElementType; + title: string; + accent?: "primary" | "accent"; +}; + +const CardHeader = ({ icon: Icon, title, accent = "primary" }: Props) => ( +
{error}
} ++ Nothing marked yet. Markers stack up here, newest first — pick two to save the section between them. +
+ ) : ( + /* py-0.5 keeps the scroll container from clipping the selection + ring on the first and last rows. */ +{elapsed}
-elapsed
-{markerError}
} - - {markers.length > 0 && ( -Add at least two markers above to save a section between them.
+Add at least two markers to save a section between them.
) : ( <>Clip and save actions will show up here.
- ) : ( -