11 lines
296 B
TypeScript
11 lines
296 B
TypeScript
import { toastVariants } from "./variants"
|
|
|
|
import type { VariantProps } from "class-variance-authority"
|
|
|
|
export interface ToastsProps
|
|
extends Omit<React.AnchorHTMLAttributes<HTMLDivElement>, "color">,
|
|
VariantProps<typeof toastVariants> {
|
|
message: React.ReactNode
|
|
onClose: () => void
|
|
}
|