Alert

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

Once imported it can be modified the way you want.

Prefixes

  • ch-alert
  • ch-alertTS

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