+ {/* Rail segment under the row — same recipe as message rows so the
+ rail flows continuously through the day boundary. */}
+
+
{label}
+
+
+
+ );
+ }
+);
+
+export const StreamLayout = as<'div', StreamLayoutProps>(
+ (
+ {
+ className,
+ time,
+ dotColor,
+ dotOpacity,
+ isOwn,
+ compact,
+ header,
+ railStart,
+ railEnd,
+ children,
+ ...props
+ },
+ ref
+ ) => {
+ const rootRef = useRef