// Router import { useNavigate } from 'react-router-dom'; // Cloudscape import { Button, Header, Link, Select, SpaceBetween, Spinner } from '@cloudscape-design/components'; // Container header export function ViewerContainerHeader({ formDirty, isLoading, handleReset, handleLoadImageSet }) { const navigate = useNavigate(); return (
Select a data store and specify and ImageSet ID or use the{' '} navigate('/search')}>search feature. } actions={
{isLoading && }
} > Image Viewer
); } export function LoadMethodSelection({ selectedLoadMethod, handleChange, options, disabled = false }) { return ( { handleChange(detail.selectedOption); }} expandToViewport={true} placeholder="Select a series" loadingText="Loading series for ImageSet..." options={seriesOptions} statusType={seriesStatusType} disabled={seriesOptions?.length === 0} /> ); } export function TlmLevelSelect({ selectedLevel, handleChange, levelOptions }) { return (