// 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 (