Skip to content

Commit

Permalink
Move arguments to data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Dec 29, 2023
1 parent f85b335 commit b5bcd4c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions content/en/docs/latest/components/alert.md
@@ -1,7 +1,7 @@
---
author: Mark Dumay
title: Alert
date: 2023-08-05
date: 2023-12-29
description: Use the alert shortcode to display a contextual feedback message.
layout: docs
icon: fas triangle-exclamation
Expand All @@ -24,15 +24,7 @@ Use the `alert` shortcode to display a contextual feedback message. The inner co

The shortcode supports the following arguments:

{{< table >}}
| Argument | Required | Description |
|-------------|----------|-------------|
| color | No | Optional theme color of the alert, either "primary" (default), "secondary", "success", "danger", "warning", "info", "light", "dark", "white" or "black". |
| dismissible | No | Optional flag to indicate the alert is dismissible, defaults to false. |
| icon | No | Optional class and name of a Font Awesome icon to include. The icons use the [icon shorthand notation]({{< relref "../content/icons" >}}). |
| type | No | Optional type of the alert, either "danger" or "info". Generates an alert with related color and icon. |
| class | No | Optional class attribute of the alert element. |
{{< /table >}}
{{< args structure="alert" group="shortcode" >}}

## Examples

Expand Down

0 comments on commit b5bcd4c

Please sign in to comment.