@material-tailwind/react
Version:
@material-tailwind/react is an easy-to-use components library for ReactJS & Tailwind CSS inspired by Material Design.
17 lines • 630 B
TypeScript
import React from "react";
import { MotionProps } from "framer-motion";
import type { variant, color, icon, open, action, animate, className, children, onClose } from "../../types/components/alert";
export interface AlertProps extends Omit<MotionProps, "animate"> {
variant?: variant;
color?: color;
icon?: icon;
open?: open;
onClose?: onClose;
action?: action;
animate?: animate;
className?: className;
children: children;
}
export declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
export default Alert;
//# sourceMappingURL=index.d.ts.map