@@ -67,3 +67,91 @@ export const Stacking = () => `
6767 </div>
6868</div>
6969`
70+
71+ export const Variants = ( ) => `
72+ <div class="toaster">
73+ <div class="toast toast-primary" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
74+ <div class="toast-header">
75+ <img src="..." class="rounded mr-2" alt="...">
76+ <strong class="mr-auto">Bootstrap</strong>
77+ <small>just now</small>
78+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
79+ <span aria-hidden="true">×</span>
80+ </button>
81+ </div>
82+ <div class="toast-body">
83+ See? Just like this.
84+ </div>
85+ </div>
86+
87+ <div class="toast toast-secondary" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
88+ <div class="toast-header">
89+ <img src="..." class="rounded mr-2" alt="...">
90+ <strong class="mr-auto">Bootstrap</strong>
91+ <small class="text-muted">2 seconds ago</small>
92+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
93+ <span aria-hidden="true">×</span>
94+ </button>
95+ </div>
96+ <div class="toast-body">
97+ Heads up, toasts will stack automatically
98+ </div>
99+ </div>
100+
101+ <div class="toast toast-success" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
102+ <div class="toast-header">
103+ <img src="..." class="rounded mr-2" alt="...">
104+ <strong class="mr-auto">Bootstrap</strong>
105+ <small>just now</small>
106+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
107+ <span aria-hidden="true">×</span>
108+ </button>
109+ </div>
110+ <div class="toast-body">
111+ Heads up, toasts will stack automatically
112+ </div>
113+ </div>
114+
115+ <div class="toast toast-info" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
116+ <div class="toast-header">
117+ <img src="..." class="rounded mr-2" alt="...">
118+ <strong class="mr-auto">Bootstrap</strong>
119+ <small>just now</small>
120+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
121+ <span aria-hidden="true">×</span>
122+ </button>
123+ </div>
124+ <div class="toast-body">
125+ Heads up, toasts will stack automatically
126+ </div>
127+ </div>
128+
129+ <div class="toast toast-danger" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
130+ <div class="toast-header">
131+ <img src="..." class="rounded mr-2" alt="...">
132+ <strong class="mr-auto">Bootstrap</strong>
133+ <small>just now</small>
134+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
135+ <span aria-hidden="true">×</span>
136+ </button>
137+ </div>
138+ <div class="toast-body">
139+ Heads up, toasts will stack automatically
140+ </div>
141+ </div>
142+
143+ <div class="toast toast-warning" role="alert" aria-live="assertive" aria-atomic="true" style="opacity:1">
144+ <div class="toast-header">
145+ <img src="..." class="rounded mr-2" alt="...">
146+ <strong class="mr-auto">Bootstrap</strong>
147+ <small>just now</small>
148+ <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
149+ <span aria-hidden="true">×</span>
150+ </button>
151+ </div>
152+ <div class="toast-body">
153+ Heads up, toasts will stack automatically
154+ </div>
155+ </div>
156+ </div>
157+ `
0 commit comments