Error Alert

An error alert is a clear and easy way to show important information on the screen. This error alert is more suitable of error reporting.

Once imported it can be modified the way you want.

Prefixes

  • ch-errorAlert
  • ch-errorAlertTS

Props

Alerts take the following props:

  • title: string
  • details?: string
  • timestamp?: string
  • actions?: ReactNode
Example: An example of the usage is provided in the snippet.

Preview

Alert
I am an Alert.
Tue, 06 Sep 2022 22:57:04 GMT