Skip to content
Andrew Sutton edited this page Sep 17, 2023 · 2 revisions
open FS.FluentUI.V8toV9

let alertTest =
    Fui.stack [
        stack.horizontal false
        stack.tokens [ stack.tokens.childrenGap 8 ]
        stack.children [
            Fui.alert [
                alert.appearance.inverted
                alert.intent.success
                alert.action "Undo"
            ]
            Fui.alert [
                alert.appearance.primary
                alert.intent.warning
                alert.icon [
                    prop.className "testing classname"
                ]
            ]
            Fui.alert [
                alert.appearance.primary
                alert.intent.error
                alert.action [
                    button.appearance.primary
                    button.text "Review"
                    button.icon (Fui.icon.addRegular [ icon.primaryFill "orange" ])
                ]
            ]
        ]
    ]
Clone this wiki locally