import { RiCloseLine, RiInformation2Fill, } from '@remixicon/react' import { cva } from 'class-variance-authority' import { memo, } from 'react' import { cn } from '@/utils/classnames' type Props = { type?: 'info' message: string onHide: () => void className?: string } const bgVariants = cva( '', { variants: { type: { info: 'from-components-badge-status-light-normal-halo to-background-gradient-mask-transparent', }, }, }, ) const Alert: React.FC = ({ type = 'info', message, onHide, className, }) => { return (
{message}
) } export default memo(Alert)