toast({
classes: `text-bg-primary border-0`,
body: `
<div class="d-flex w-100" data-bs-theme="dark">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-secondary border-0`,
body: `
<div class="d-flex w-100" data-bs-theme="dark">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-success border-0`,
body: `
<div class="d-flex w-100" data-bs-theme="dark">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-danger border-0`,
body: `
<div class="d-flex w-100" data-bs-theme="dark">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-warning border-0`,
body: `
<div class="d-flex w-100">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-info border-0`,
body: `
<div class="d-flex w-100">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-dark border-0`,
body: `
<div class="d-flex w-100" data-bs-theme="dark">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})
toast({
classes: `text-bg-light border-0`,
body: `
<div class="d-flex w-100">
<div class="flex-grow-1">
Hello, world! This is a toast message.
</div>
<button type="button" class="btn-close flex-shrink-0" data-bs-dismiss="toast" aria-label="Close"></button>
</div>`,
})