AlertComponent is a React functional component that displays an alert message with customizable options.
This component displays an alert with a specified message, type (success or danger), and duration. It automatically hides after the specified duration, or when clicked. The alert can also trigger an optional onHide callback when it is hidden.
AlertComponent is a React functional component that displays an alert message with customizable options.
This component displays an alert with a specified message, type (success or danger), and duration. It automatically hides after the specified duration, or when clicked. The alert can also trigger an optional
onHide
callback when it is hidden.Component
Example