import React, { forwardRef } from 'react'; import * as css from './StreamHeader.css'; type SegmentProps = { active: boolean; disabled?: boolean; label: string; onClick?: () => void; }; // Tab segment for the StreamHeader row. Active state is communicated // by a violet dot (folds `Primary.Main`) and a heavier font weight. export const Segment = forwardRef( ({ active, disabled, label, onClick }, ref) => ( ) ); Segment.displayName = 'Segment';