Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
import { Flex } from '@invoke-ai/ui-library';
import { memo, type PropsWithChildren } from 'react';
export const PromptOverlayButtonWrapper = memo((props: PropsWithChildren) => (
<Flex
pos="absolute"
insetBlockStart={0}
insetInlineEnd={0}
flexDir="column"
p={2}
gap={2}
alignItems="center"
justifyContent="space-between"
bottom={4} // make sure textarea resize is accessible
pb={0}
>
{props.children}
</Flex>
));
PromptOverlayButtonWrapper.displayName = 'PromptOverlayButtonWrapper';