import { memo } from 'react' import { Badge, Tooltip } from '@janhq/joi' import { InfoIcon } from 'lucide-react' import { twMerge } from 'tailwind-merge' type Props = { compact?: boolean unit: string } const NotEnoughMemoryLabel = ({ unit, compact }: Props) => ( {!compact && Not enough {unit}} ) : ( ) } content="This tag signals insufficient RAM for optimal model performance. It's dynamic and may change with your system's RAM availability." /> ) export default memo(NotEnoughMemoryLabel)