import type React from 'react' import { type ReactNode } from 'react' import { toast } from 'sonner' import { SvgDelete1 } from '@chainlink/blocks-icons' import { cn } from '../../utils' import { Button } from '../Button' import { typographyVariants } from '../Typography' import { type ToastProps } from './Toast' import type { Width } from './variants' import { toastVariants, type Variant } from './variants' export const ToastRoot = ({ variant, children, width = 'default', }: { variant: Variant width?: Width children: ReactNode }) => { return
{children}
} type ToastActionProps = React.ButtonHTMLAttributes & { toastId: ToastProps['toastId'] action: NonNullable ref?: React.Ref } export const ToastAction = ({ className, toastId, action, ref, ...props }: ToastActionProps) => { return ( ) } ToastAction.displayName = 'ToastAction' export const ToastClose = ({ toastId }: { toastId: ToastProps['toastId'] }) => ( ) ToastClose.displayName = 'ToastClose' export const ToastCountdown = () => (
) export const ToastDescription = ({ children }: { children: ReactNode }) => (
{children}
) export const ToastTitle = ({ children }: { children: ReactNode }) => (
{children}
)