desmy-react
Version:
Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.
20 lines (19 loc) • 481 B
TypeScript
import { Component } from 'react';
interface AlertProps {
error: {
type: string;
message: string;
};
handleCloseAlert?: () => void;
onRetry?: () => void;
}
interface AlertState {
showForms: boolean;
}
declare class DesmyAlert extends Component<AlertProps, AlertState> {
constructor(props: AlertProps);
handleToggle: () => void;
handleRetry: () => void;
render(): import("react/jsx-runtime").JSX.Element;
}
export { DesmyAlert };