forked from patternfly/patternfly-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariations.html
More file actions
37 lines (32 loc) · 1012 Bytes
/
variations.html
File metadata and controls
37 lines (32 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<pf-alert variant="success"
title-text="Success alert title">
Success alert description. This should tell the user more information about the alert.
<a href="#" slot="actionLinks">View details</a>
<a href="#" slot="actionLinks">Ignore</a>
</pf-alert>
<pf-alert variant="success"
title-text="Success alert title">
<pf-icon icon="check-circle" slot="icon"></pf-icon>
Success alert description.
This should tell the user more information about the alert.
<a href="#">This is a link.</a>
</pf-alert>
<pf-alert variant="success"
dismissable
title-text="Success alert title">
Short alert description.
</pf-alert>
<pf-alert variant="success"
title-text="h6 Success alert title"
title-level="6">
Short alert description.
</pf-alert>
<script type="module">
import '@patternfly/elements/pf-alert/pf-alert.js';
import '@patternfly/elements/pf-button/pf-button.js';
</script>
<style>
pf-alert {
margin-block-end: 1em;
}
</style>