|
1 | | -<pf-alert variant="success"> |
2 | | - <h3 slot="title">Success alert title</h3> |
3 | | - <p>Success alert description. This should tell the user more information about the alert.</p> |
| 1 | +<pf-alert variant="success" |
| 2 | + title-text="Success alert title"> |
| 3 | + Success alert description. This should tell the user more information about the alert. |
4 | 4 | <a href="#" slot="actionLinks">View details</a> |
5 | 5 | <a href="#" slot="actionLinks">Ignore</a> |
6 | 6 | </pf-alert> |
7 | 7 |
|
8 | | -<pf-alert variant="success"> |
| 8 | +<pf-alert variant="success" |
| 9 | + title-text="Success alert title"> |
9 | 10 | <pf-icon icon="check-circle" slot="icon"></pf-icon> |
10 | | - <h3 slot="title">Success alert title</h3> |
11 | | - <p>Success alert description. This should tell the user more information about the alert. |
12 | | - <a href="#">This is a link.</a> |
13 | | - </p> |
| 11 | + Success alert description. |
| 12 | + This should tell the user more information about the alert. |
| 13 | + <a href="#">This is a link.</a> |
14 | 14 | </pf-alert> |
15 | 15 |
|
16 | | -<pf-alert variant="success" onClose> |
17 | | - <h3 slot="title">Success alert title</h3> |
18 | | - <p>Short alert description.</p> |
| 16 | +<pf-alert variant="success" |
| 17 | + dismissable |
| 18 | + title-text="Success alert title"> |
| 19 | + Short alert description. |
19 | 20 | </pf-alert> |
20 | 21 |
|
21 | | -<pf-alert variant="success"> |
22 | | - <div slot="title">div success alert title</div> |
23 | | -</pf-alert> |
24 | | - |
25 | | -<pf-alert variant="success"> |
26 | | - <h6 slot="title">h6 Success alert title</h6> |
27 | | - <p>Short alert description.</p> |
| 22 | +<pf-alert variant="success" |
| 23 | + title-text="h6 Success alert title" |
| 24 | + title-level="6"> |
| 25 | + Short alert description. |
28 | 26 | </pf-alert> |
29 | 27 |
|
30 | 28 | <script type="module"> |
|
0 commit comments