import clsx from 'clsx'; import { AriaAttributes, PropsWithChildren } from 'react'; import { Icon, IconProps } from '@@/Icon'; export function EnvironmentStatusBadgeItem({ className, children, color = 'default', icon, ...aria }: PropsWithChildren< { className?: string; color?: 'success' | 'danger' | 'default'; icon?: IconProps['icon']; } & AriaAttributes >) { return ( {icon && ( )} {children} ); }