@expofp/floorplan
Version:
Interactive floor plan library for expos and events
20 lines • 731 B
TypeScript
import "./Alert.scss";
import React, { type ReactNode } from "react";
export type AlertVariant = "info" | "warning" | "error" | "success" | "blank";
export type AlertSize = "sm" | "md";
export type AlertPosition = "top-right" | "bottom-right";
export interface AlertProps {
children?: ReactNode;
position?: AlertPosition;
variant?: AlertVariant;
size?: AlertSize;
inline?: boolean;
showIcon?: boolean;
closable?: boolean;
title?: string;
closeLabel: string;
onClose?: () => void;
}
declare const Alert: ({ children, position, variant, inline, showIcon, size, closable, title, closeLabel, onClose, }: AlertProps) => React.JSX.Element;
export default Alert;
//# sourceMappingURL=Alert.d.ts.map