UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

21 lines 2.03 kB
import { VariantProps } from 'class-variance-authority'; import { ToastIconProps } from './toast.types'; import * as React from 'react'; import * as ToastPrimitives from '@radix-ui/react-toast'; declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>; declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>; declare const ToastPrimitive: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({ variant?: "default" | null | undefined; } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>; declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>; declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>; declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>; declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>; declare const ToastIcon: { ({ icon }: ToastIconProps): import("react/jsx-dev-runtime").JSX.Element; displayName: string; }; type ToastProps = React.ComponentPropsWithoutRef<typeof ToastPrimitive>; type ToastActionElement = React.ReactElement<typeof ToastAction>; export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, ToastPrimitive, ToastTitle, ToastDescription, ToastClose, ToastAction, ToastIcon, }; //# sourceMappingURL=toast-components.d.ts.map