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.

529 B
Raw Blame
import { FormControl, FormLabel, Text } from '@invoke-ai/ui-library';
import { memo } from 'react';

interface Props {
  label: string;
  value: string | null | undefined;
}

export const ModelAttrView = memo(({ label, value }: Props) => {
  return (
    <FormControl flexDir="column" alignItems="flex-start" gap={0}>
      <FormLabel>{label}</FormLabel>
      <Text fontSize="md" noOfLines={1} wordBreak="break-all">
        {value || '-'}
      </Text>
    </FormControl>
  );
});

ModelAttrView.displayName = 'ModelAttrView';