@@ -35,7 +35,7 @@ To encourage extensible and predictable toasts, we recommend a header and body.
35
35
Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your "toasted" content and strongly encourage a dismiss button.
36
36
37
37
<Example >
38
- <CToast title = " CoreUI for React.js " animation = { false } autohide = { false } visible = { true } >
38
+ <CToast animation = { false } autohide = { false } visible = { true } >
39
39
<CToastHeader closeButton >
40
40
<svg
41
41
className = " rounded me-2"
@@ -56,7 +56,7 @@ Toasts are as flexible as you need and have very little required markup. At a mi
56
56
</Example >
57
57
58
58
``` jsx
59
- < CToast title = " CoreUI for React.js " autohide= {false } visible= {true }>
59
+ < CToast autohide= {false } visible= {true }>
60
60
< CToastHeader closeButton>
61
61
< svg
62
62
className= " rounded me-2"
@@ -80,7 +80,7 @@ export const BasicExample = () => {
80
80
const [toast, addToast] = useState (0 )
81
81
const toaster = useRef ()
82
82
const exampleToast = (
83
- <CToast title = " CoreUI for React.js " >
83
+ <CToast >
84
84
<CToastHeader closeButton >
85
85
<svg
86
86
className = " rounded me-2"
@@ -115,7 +115,7 @@ export const BasicExample = () => {
115
115
const [toast , addToast ] = useState (0 )
116
116
const toaster = useRef ()
117
117
const exampleToast = (
118
- < CToast title = " CoreUI for React.js " >
118
+ < CToast>
119
119
< CToastHeader closeButton>
120
120
< svg
121
121
className= " rounded me-2"
@@ -147,7 +147,7 @@ return (
147
147
Toasts are slightly translucent to blend in with what's below them.
148
148
149
149
<Example className = " bg-dark border-0" >
150
- <CToast title = " CoreUI for React.js " autohide = { false } visible = { true } >
150
+ <CToast autohide = { false } visible = { true } >
151
151
<CToastHeader closeButton >
152
152
<svg
153
153
className = " rounded me-2"
@@ -168,7 +168,7 @@ Toasts are slightly translucent to blend in with what's below them.
168
168
</Example >
169
169
170
170
``` jsx
171
- < CToast title = " CoreUI for React.js " autohide= {false } visible= {true }>
171
+ < CToast autohide= {false } visible= {true }>
172
172
< CToastHeader closeButton>
173
173
< svg
174
174
className= " rounded me-2"
@@ -194,7 +194,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
194
194
195
195
<Example >
196
196
<CToaster >
197
- <CToast title = " CoreUI for React.js " autohide = { false } visible = { true } >
197
+ <CToast autohide = { false } visible = { true } >
198
198
<CToastHeader closeButton >
199
199
<svg
200
200
className = " rounded me-2"
@@ -212,7 +212,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
212
212
</CToastHeader >
213
213
<CToastBody >Hello, world! This is a toast message.</CToastBody >
214
214
</CToast >
215
- <CToast title = " CoreUI for React.js " autohide = { false } visible = { true } >
215
+ <CToast autohide = { false } visible = { true } >
216
216
<CToastHeader closeButton >
217
217
<svg
218
218
className = " rounded me-2"
@@ -235,7 +235,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
235
235
236
236
``` jsx
237
237
< CToaster>
238
- < CToast title = " CoreUI for React.js " autohide= {false } visible= {true }>
238
+ < CToast autohide= {false } visible= {true }>
239
239
< CToastHeader closeButton>
240
240
< svg
241
241
className= " rounded me-2"
@@ -253,7 +253,7 @@ You can stack toasts by wrapping them in a toast container, which will verticall
253
253
< / CToastHeader>
254
254
< CToastBody> Hello, world! This is a toast message.< / CToastBody>
255
255
< / CToast>
256
- < CToast title = " CoreUI for React.js " autohide= {false } visible= {true }>
256
+ < CToast autohide= {false } visible= {true }>
257
257
< CToastHeader closeButton>
258
258
< svg
259
259
className= " rounded me-2"
0 commit comments