'use client' import type { ComponentType, FC, ReactNode, SVGProps } from 'react' import { Dialog, DialogContent, DialogTitle } from '@/app/components/base/ui/dialog' import { cn } from '@/utils/classnames' import styles from './style.module.css' type Props = { Icon?: ComponentType> title: string description: string extraInfo?: ReactNode footer?: ReactNode show: boolean } const UpgradeModalBase: FC = ({ Icon, title, description, extraInfo, footer, show, }) => { return (
{Icon && (
)}
{title}
{description}
{extraInfo}
{!!footer && (
{footer}
)}
) } export default UpgradeModalBase