import { Components } from "gd-sprest-bs";
// Create a toast
let el = document.querySelector("#toast");
Components.Toast({
el,
headerText: "Header",
body: "This is the body of the toast.",
mutedText: "2 seconds ago",
options: { autohide: false }
});
Generated using TypeDoc