+
+
Example Five
+
Launch a prompt modal
+
+ let result = await BSDialog.ShowPrompt({
+ Title: "Prompt",
+ Message: "This is a prompt",
+ Size: "md",
+ Buttons: [
+ { Label: "Yes", Value: "Yes", Colour: "primary" },
+ { Label: "No", Value: "No", Colour: "secondary" },
+ { Label: "Cancel", Value: "Cancel", Colour: "secondary" }
+ ]
+ });
+
+ alert(result);
+
+
+
+