File tree 1 file changed +11
-7
lines changed
packages/components/tests/dummy/app/templates/components
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 57
57
58
58
<dt class =" dummy-indent" >icon <code >string</code ></dt >
59
59
<dd class =" dummy-indent" >
60
- <p >Shows an icon in the alert. Optional parameter.</p >
60
+ <p >Override the default
61
+ <code class =" dummy-code" >icon</code >
62
+ name determined by the
63
+ <code class =" dummy-code" >color</code >. Optional parameter.
64
+ </p >
61
65
<p >Acceptable value:</p >
62
66
<p >Any
63
67
<a href =" https://flight-hashicorp.vercel.app/" target =" _blank" rel =" noopener noreferrer" >
195
199
/>
196
200
<br />
197
201
202
+ Icon override variation:
203
+
198
204
<Hds::Alert
199
205
@color =" critical"
200
206
@icon =" meh"
207
213
/>
208
214
<br />
209
215
210
- Other variations:
216
+ Title/description variations:
211
217
212
- <Hds::Alert @color =" critical " @ icon = " alert-triangle " @description =" Description only please" />
218
+ <Hds::Alert @color =" success " @description =" Description only please" />
213
219
<br />
214
220
215
221
<Hds::Alert
216
- @color =" neutral"
217
- @icon =" alert-triangle"
222
+ @color =" success"
218
223
@title =" Really long title, yet no description. Your Intention settings are currently set to default allow. This
219
224
means that this view will show connections to every service in your
220
225
cluster. We recommend changing your Intention settings to default deny and
224
229
<br />
225
230
226
231
<Hds::Alert
227
- @color =" highlight"
228
- @icon =" alert-triangle"
232
+ @color =" success"
229
233
@title =" Description below has HTML"
230
234
@description =" Your Intention settings are currently set to default <strong>allow</strong>. This
231
235
means that this view will show connections to every service in your
You can’t perform that action at this time.
0 commit comments