@@ -109,35 +109,35 @@ alerts = html.Div(
109109 [
110110 dbc.Alert(
111111 [
112- html.I(class_name ="bi bi-info-circle-fill me-2"),
112+ html.I(className ="bi bi-info-circle-fill me-2"),
113113 "An example info alert with an icon",
114114 ],
115115 color="info",
116- class_name ="d-flex align-items-center",
116+ className ="d-flex align-items-center",
117117 ),
118118 dbc.Alert(
119119 [
120- html.I(class_name ="bi bi-check-circle-fill me-2"),
120+ html.I(className ="bi bi-check-circle-fill me-2"),
121121 "An example success alert with an icon",
122122 ],
123123 color="success",
124- class_name ="d-flex align-items-center",
124+ className ="d-flex align-items-center",
125125 ),
126126 dbc.Alert(
127127 [
128- html.I(class_name ="bi bi-exclamation-triangle-fill me-2"),
128+ html.I(className ="bi bi-exclamation-triangle-fill me-2"),
129129 "An example warning alert with an icon",
130130 ],
131131 color="warning",
132- class_name ="d-flex align-items-center",
132+ className ="d-flex align-items-center",
133133 ),
134134 dbc.Alert(
135135 [
136- html.I(class_name ="bi bi-x-octagon-fill me-2"),
136+ html.I(className ="bi bi-x-octagon-fill me-2"),
137137 "An example danger alert with an icon",
138138 ],
139139 color="danger",
140- class_name ="d-flex align-items-center",
140+ className ="d-flex align-items-center",
141141 ),
142142 ]
143143)
@@ -153,35 +153,35 @@ alerts <- htmlDiv(
153153 list(
154154 dbcAlert(
155155 list(
156- htmlI(class_name = "bi bi-info-circle-fill me-2"),
156+ htmlI(className = "bi bi-info-circle-fill me-2"),
157157 "An example info alert with an icon"
158158 ),
159159 color = "info",
160- class_name = "d-flex align-items-center"
160+ className = "d-flex align-items-center"
161161 ),
162162 dbcAlert(
163163 list(
164- htmlI(class_name = "bi bi-check-circle-fill me-2"),
164+ htmlI(className = "bi bi-check-circle-fill me-2"),
165165 "An example success alert with an icon"
166166 ),
167167 color = "success",
168- class_name = "d-flex align-items-center"
168+ className = "d-flex align-items-center"
169169 ),
170170 dbcAlert(
171171 list(
172- htmlI(class_name = "bi bi-exclamation-triangle-fill me-2"),
172+ htmlI(className = "bi bi-exclamation-triangle-fill me-2"),
173173 "An example warning alert with an icon"
174174 ),
175175 color = "warning",
176- class_name = "d-flex align-items-center"
176+ className = "d-flex align-items-center"
177177 ),
178178 dbcAlert(
179179 list(
180- htmlI(class_name = "bi bi-x-octagon-fill me-2"),
180+ htmlI(className = "bi bi-x-octagon-fill me-2"),
181181 "An example danger alert with an icon"
182182 ),
183183 color = "danger",
184- class_name = "d-flex align-items-center"
184+ className = "d-flex align-items-center"
185185 )
186186 )
187187)
@@ -196,35 +196,35 @@ using DashBootstrapComponents, DashHtmlComponents
196196alerts = html_div([
197197 dbc_alert(
198198 [
199- html_i(class_name = "bi bi-info-circle-fill me-2"),
199+ html_i(className = "bi bi-info-circle-fill me-2"),
200200 "An example info alert with an icon",
201201 ],
202202 color = "info",
203- class_name = "d-flex align-items-center",
203+ className = "d-flex align-items-center",
204204 ),
205205 dbc_alert(
206206 [
207- html_i(class_name = "bi bi-check-circle-fill me-2"),
207+ html_i(className = "bi bi-check-circle-fill me-2"),
208208 "An example success alert with an icon",
209209 ],
210210 color = "success",
211- class_name = "d-flex align-items-center",
211+ className = "d-flex align-items-center",
212212 ),
213213 dbc_alert(
214214 [
215- html_i(class_name = "bi bi-exclamation-triangle-fill me-2"),
215+ html_i(className = "bi bi-exclamation-triangle-fill me-2"),
216216 "An example warning alert with an icon",
217217 ],
218218 color = "warning",
219- class_name = "d-flex align-items-center",
219+ className = "d-flex align-items-center",
220220 ),
221221 dbc_alert(
222222 [
223- html_i(class_name = "bi bi-x-octagon-fill me-2"),
223+ html_i(className = "bi bi-x-octagon-fill me-2"),
224224 "An example danger alert with an icon",
225225 ],
226226 color = "danger",
227- class_name = "d-flex align-items-center",
227+ className = "d-flex align-items-center",
228228 ),
229229])
230230```
0 commit comments