A versatile alert component for displaying important messages or notifications.
| Prop | Type | Required | Description |
|---|---|---|---|
| type | 'success' | 'error' | 'warning' | 'info' | Yes | Determines the style and icon of the alert |
| message | string | Yes | The main message to display |
| title | string | No | Optional title for the alert |
<Alert type="success" message="Operation completed successfully" />
<Alert type="error" title="Error Occurred" message="Please check your input and try again" />