open System
open FSharp.ViewEngine
open Acme.Components.Primitives
open Acme.Components.Application
open type Html
open type Svg
open type Datastar
let dialogConfig =
Dialog.create "review-account-dialog" "Review account" (
p { "Confirm the account settings before they are applied." })
|> Dialog.withDescription "The dialog returns focus to its trigger when it closes."
|> Dialog.withInitialFocus "review-account-dialog-close"
|> Dialog.dismissOnBackdrop
let reviewDialogTrigger =
dialogConfig
|> Dialog.trigger "Review account"
let reviewDialog =
dialogConfig
|> Dialog.withFooter (dialogConfig |> Dialog.closeButton "Close")
|> Dialog.render