@@ -109,35 +109,35 @@ alerts = html.Div(
109
109
[
110
110
dbc.Alert(
111
111
[
112
- html.I(class_name ="bi bi-info-circle-fill me-2"),
112
+ html.I(className ="bi bi-info-circle-fill me-2"),
113
113
"An example info alert with an icon",
114
114
],
115
115
color="info",
116
- class_name ="d-flex align-items-center",
116
+ className ="d-flex align-items-center",
117
117
),
118
118
dbc.Alert(
119
119
[
120
- html.I(class_name ="bi bi-check-circle-fill me-2"),
120
+ html.I(className ="bi bi-check-circle-fill me-2"),
121
121
"An example success alert with an icon",
122
122
],
123
123
color="success",
124
- class_name ="d-flex align-items-center",
124
+ className ="d-flex align-items-center",
125
125
),
126
126
dbc.Alert(
127
127
[
128
- html.I(class_name ="bi bi-exclamation-triangle-fill me-2"),
128
+ html.I(className ="bi bi-exclamation-triangle-fill me-2"),
129
129
"An example warning alert with an icon",
130
130
],
131
131
color="warning",
132
- class_name ="d-flex align-items-center",
132
+ className ="d-flex align-items-center",
133
133
),
134
134
dbc.Alert(
135
135
[
136
- html.I(class_name ="bi bi-x-octagon-fill me-2"),
136
+ html.I(className ="bi bi-x-octagon-fill me-2"),
137
137
"An example danger alert with an icon",
138
138
],
139
139
color="danger",
140
- class_name ="d-flex align-items-center",
140
+ className ="d-flex align-items-center",
141
141
),
142
142
]
143
143
)
@@ -153,35 +153,35 @@ alerts <- htmlDiv(
153
153
list(
154
154
dbcAlert(
155
155
list(
156
- htmlI(class_name = "bi bi-info-circle-fill me-2"),
156
+ htmlI(className = "bi bi-info-circle-fill me-2"),
157
157
"An example info alert with an icon"
158
158
),
159
159
color = "info",
160
- class_name = "d-flex align-items-center"
160
+ className = "d-flex align-items-center"
161
161
),
162
162
dbcAlert(
163
163
list(
164
- htmlI(class_name = "bi bi-check-circle-fill me-2"),
164
+ htmlI(className = "bi bi-check-circle-fill me-2"),
165
165
"An example success alert with an icon"
166
166
),
167
167
color = "success",
168
- class_name = "d-flex align-items-center"
168
+ className = "d-flex align-items-center"
169
169
),
170
170
dbcAlert(
171
171
list(
172
- htmlI(class_name = "bi bi-exclamation-triangle-fill me-2"),
172
+ htmlI(className = "bi bi-exclamation-triangle-fill me-2"),
173
173
"An example warning alert with an icon"
174
174
),
175
175
color = "warning",
176
- class_name = "d-flex align-items-center"
176
+ className = "d-flex align-items-center"
177
177
),
178
178
dbcAlert(
179
179
list(
180
- htmlI(class_name = "bi bi-x-octagon-fill me-2"),
180
+ htmlI(className = "bi bi-x-octagon-fill me-2"),
181
181
"An example danger alert with an icon"
182
182
),
183
183
color = "danger",
184
- class_name = "d-flex align-items-center"
184
+ className = "d-flex align-items-center"
185
185
)
186
186
)
187
187
)
@@ -196,35 +196,35 @@ using DashBootstrapComponents, DashHtmlComponents
196
196
alerts = html_div([
197
197
dbc_alert(
198
198
[
199
- html_i(class_name = "bi bi-info-circle-fill me-2"),
199
+ html_i(className = "bi bi-info-circle-fill me-2"),
200
200
"An example info alert with an icon",
201
201
],
202
202
color = "info",
203
- class_name = "d-flex align-items-center",
203
+ className = "d-flex align-items-center",
204
204
),
205
205
dbc_alert(
206
206
[
207
- html_i(class_name = "bi bi-check-circle-fill me-2"),
207
+ html_i(className = "bi bi-check-circle-fill me-2"),
208
208
"An example success alert with an icon",
209
209
],
210
210
color = "success",
211
- class_name = "d-flex align-items-center",
211
+ className = "d-flex align-items-center",
212
212
),
213
213
dbc_alert(
214
214
[
215
- html_i(class_name = "bi bi-exclamation-triangle-fill me-2"),
215
+ html_i(className = "bi bi-exclamation-triangle-fill me-2"),
216
216
"An example warning alert with an icon",
217
217
],
218
218
color = "warning",
219
- class_name = "d-flex align-items-center",
219
+ className = "d-flex align-items-center",
220
220
),
221
221
dbc_alert(
222
222
[
223
- html_i(class_name = "bi bi-x-octagon-fill me-2"),
223
+ html_i(className = "bi bi-x-octagon-fill me-2"),
224
224
"An example danger alert with an icon",
225
225
],
226
226
color = "danger",
227
- class_name = "d-flex align-items-center",
227
+ className = "d-flex align-items-center",
228
228
),
229
229
])
230
230
```
0 commit comments