mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
New loading icon
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { useSaveResponse } from '../../hooks/useSaveResponse';
|
||||
import type { HttpResponse } from '@yaakapp-internal/models';
|
||||
import { useSaveResponse } from '../../hooks/useSaveResponse';
|
||||
import { getContentTypeHeader } from '../../lib/model_util';
|
||||
import { Banner } from '../core/Banner';
|
||||
import { Button } from '../core/Button';
|
||||
import { Icon } from '../core/Icon';
|
||||
import { InlineCode } from '../core/InlineCode';
|
||||
import { LoadingIcon } from '../core/LoadingIcon';
|
||||
import { EmptyStateText } from '../EmptyStateText';
|
||||
|
||||
interface Props {
|
||||
@@ -19,7 +19,7 @@ export function BinaryViewer({ response }: Props) {
|
||||
if (response.state === 'closed') {
|
||||
return (
|
||||
<EmptyStateText>
|
||||
<Icon icon="refresh" spin />
|
||||
<LoadingIcon size="sm" />
|
||||
</EmptyStateText>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user