import { type ComponentPropsWithoutRef } from 'react'
import {
SvgInformationCircle,
SvgTickCircle,
SvgWarningCircle,
SvgXCircle,
} from '../../icons'
import { cn } from '../../utils'
import { type Variant } from './variants'
interface IconWrapperProps extends ComponentPropsWithoutRef<'img'> {
variant: Variant
}
const SvgIcon = ({ variant }: IconWrapperProps) => {
const props = {
height: 24,
width: 24,
className: 'h-6 w-6 shrink-0',
alt: `${variant || 'info'} icon`,
}
if (variant === 'success') {
return