mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): add greyscale invoke logo to invoke button when as icon
This commit is contained in:
committed by
Kent Keirsey
parent
b915d74127
commit
7fecebf7db
@@ -1,9 +1,10 @@
|
||||
import { ChakraProps } from '@chakra-ui/react';
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useQueueBack } from '../hooks/useQueueBack';
|
||||
import EnqueueButtonTooltip from './QueueButtonTooltip';
|
||||
import QueueButton from './common/QueueButton';
|
||||
import { ChakraProps } from '@chakra-ui/react';
|
||||
import GreyscaleInvokeAIIcon from 'common/components/GreyscaleInvokeAIIcon';
|
||||
|
||||
type Props = {
|
||||
asIconButton?: boolean;
|
||||
@@ -23,6 +24,7 @@ const QueueBackButton = ({ asIconButton, sx }: Props) => {
|
||||
onClick={queueBack}
|
||||
tooltip={<EnqueueButtonTooltip />}
|
||||
sx={sx}
|
||||
icon={asIconButton ? <GreyscaleInvokeAIIcon /> : undefined}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user