@@ -36,7 +36,7 @@ Toasts are as flexible as you need and have very little required markup. At a mi
36
36
37
37
<Example >
38
38
<CToast title = " CoreUI for React.js" animation = { false } autohide = { false } visible = { true } >
39
- <CToastHeader close >
39
+ <CToastHeader closeButton >
40
40
<svg
41
41
className = " rounded me-2"
42
42
width = " 20"
@@ -57,7 +57,7 @@ Toasts are as flexible as you need and have very little required markup. At a mi
57
57
58
58
``` jsx
59
59
< CToast title= " CoreUI for React.js" autohide= {false } visible= {true }>
60
- < CToastHeader close >
60
+ < CToastHeader closeButton >
61
61
< svg
62
62
className= " rounded me-2"
63
63
width= " 20"
@@ -81,7 +81,7 @@ export const BasicExample = () => {
81
81
const toaster = useRef ()
82
82
const exampleToast = (
83
83
<CToast title = " CoreUI for React.js" >
84
- <CToastHeader close >
84
+ <CToastHeader closeButton >
85
85
<svg
86
86
className = " rounded me-2"
87
87
width = " 20"
@@ -116,7 +116,7 @@ const [toast, addToast] = useState(0)
116
116
const toaster = useRef ()
117
117
const exampleToast = (
118
118
< CToast title= " CoreUI for React.js" >
119
- < CToastHeader close >
119
+ < CToastHeader closeButton >
120
120
< svg
121
121
className= " rounded me-2"
122
122
width= " 20"
@@ -148,7 +148,7 @@ Toasts are slightly translucent to blend in with what's below them.
148
148
149
149
<Example className = " bg-dark border-0" >
150
150
<CToast title = " CoreUI for React.js" autohide = { false } visible = { true } >
151
- <CToastHeader close >
151
+ <CToastHeader closeButton >
152
152
<svg
153
153
className = " rounded me-2"
154
154
width = " 20"
@@ -169,7 +169,7 @@ Toasts are slightly translucent to blend in with what's below them.
169
169
170
170
``` jsx
171
171
< CToast title= " CoreUI for React.js" autohide= {false } visible= {true }>
172
- < CToastHeader close >
172
+ < CToastHeader closeButton >
173
173
< svg
174
174
className= " rounded me-2"
175
175
width= " 20"
@@ -195,7 +195,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
195
195
<Example >
196
196
<CToaster >
197
197
<CToast title = " CoreUI for React.js" autohide = { false } visible = { true } >
198
- <CToastHeader close >
198
+ <CToastHeader closeButton >
199
199
<svg
200
200
className = " rounded me-2"
201
201
width = " 20"
@@ -213,7 +213,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
213
213
<CToastBody >Hello, world! This is a toast message.</CToastBody >
214
214
</CToast >
215
215
<CToast title = " CoreUI for React.js" autohide = { false } visible = { true } >
216
- <CToastHeader close >
216
+ <CToastHeader closeButton >
217
217
<svg
218
218
className = " rounded me-2"
219
219
width = " 20"
@@ -236,7 +236,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
236
236
``` jsx
237
237
< CToaster>
238
238
< CToast title= " CoreUI for React.js" autohide= {false } visible= {true }>
239
- < CToastHeader close >
239
+ < CToastHeader closeButton >
240
240
< svg
241
241
className= " rounded me-2"
242
242
width= " 20"
@@ -254,7 +254,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
254
254
< CToastBody> Hello, world! This is a toast message.< / CToastBody>
255
255
< / CToast>
256
256
< CToast title= " CoreUI for React.js" autohide= {false } visible= {true }>
257
- < CToastHeader close >
257
+ < CToastHeader closeButton >
258
258
< svg
259
259
className= " rounded me-2"
260
260
width= " 20"
0 commit comments