Created
June 16, 2021 09:21
-
-
Save EddyHaigh/639a2b28d542a7e416bd484e7187867a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FluentDialog aria-label="Dialog" Modal="true" hidden="@(!ShowDialog)"> | |
<div> | |
<FluentButton Appearance="Appearance.Neutral" @onclick="() => ShowDialog = false">ToggleDialog</FluentButton> | |
</div> | |
</FluentDialog> | |
<FluentButton Appearance="Appearance.Neutral" @onclick="() => ShowDialog = true">Toggle Dialog</FluentButton> | |
@code { | |
public bool ShowDialog { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment