Skip to content

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.

453 B
Raw Blame
import type { ReactNode } from 'react';

import { HStack, Text } from '@chakra-ui/react';

export const PANEL_HEADER_CONTROL_HEIGHT = '6';

export const PromptPanelHeader = ({ children, label }: { label: string; children?: ReactNode }) => (
  <HStack justify="space-between" minH={PANEL_HEADER_CONTROL_HEIGHT}>
    <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">
      {label}
    </Text>
    {children}
  </HStack>
);