You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/src/content/docs/components/alert.mdx
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ import { getData } from '@libs/data'
13
13
Alerts are available for any length of text, as well as an optional close button. Alerts are designed to be used with theme colors, but have neutral fallback colors for when no theme color is applied. For inline dismissal, use the [alerts JavaScript plugin](#dismiss).
14
14
15
15
<Examplecode={`<div class="alert" role="alert">
16
-
A simple alert—check it out!
16
+
<p>A simple alert—check it out!</p>
17
17
</div>`} />
18
18
19
19
## Variants
20
20
21
21
Use any of our variant theme classes for color mode adaptive, contextual styling.
0 commit comments