1- < pf-alert variant ="success ">
2- < pf-icon icon ="check-circle " slot ="icon "> </ pf-icon >
3- < h3 slot ="title "> Success alert title</ h3 >
4- < p > Success alert description. This should tell the user more information about the alert.</ p >
5- < pf-icon icon ="times " slot ="actionClose "> </ pf-icon >
6- </ pf-alert >
1+ < div class ="alerts-page ">
2+ < pf-alert variant ="success ">
3+ < h3 slot ="title "> Success alert title</ h3 >
4+ < p > Success alert description. This should tell the user more information about the alert.</ p >
5+ </ pf-alert >
6+ </ div >
7+
78
89< pf-alert variant ="success ">
9- < pf-icon icon ="check-circle " slot ="icon "> </ pf-icon >
1010 < h3 slot ="title "> Success alert title</ h3 >
1111 < p > Success alert description. This should tell the user more information about the alert.</ p >
12- < div slot ="actionLinks ">
13- < pf-button variant ="link " data-action ="view-details "> View details</ pf-button >
14- < pf-button variant ="link " data-action ="ignore "> Ignore</ pf-button >
15- </ div >
12+ < pf-button variant ="link " data-action ="view-details "> View details</ pf-button >
13+ < pf-button variant ="link " data-action ="ignore "> Ignore</ pf-button >
1614</ pf-alert >
1715
1816< script type ="module ">
1917 import '@patternfly/elements/pf-alert/pf-alert.js' ;
18+ import '@patternfly/elements/pf-button/pf-button.js' ;
2019</ script >
2120
2221< style >
23- .alerts-page pf-alert ::part (container ) {
24- background-color : # fff ;
25- box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.25 );
26- }
22+ .alerts-page pf-alert ::part (container ) {
23+ background-color : # fff ;
24+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.25 );
25+ }
2726</ style >
0 commit comments