import { components } from 'api-types' import { Badge, cn } from 'ui' interface ComputeBadgeProps extends React.ComponentProps { infraComputeSize: components['schemas']['DbInstanceSize'] | undefined } export function ComputeBadge({ infraComputeSize, className, ...props }: ComputeBadgeProps) { const smallCompute = infraComputeSize?.toLocaleLowerCase() === 'micro' || infraComputeSize?.toLocaleLowerCase() === 'nano' return ( {infraComputeSize} ) }