Initial commit
This commit is contained in:
15
Template.Shared/Components/Pages/Home.razor
Normal file
15
Template.Shared/Components/Pages/Home.razor
Normal file
@@ -0,0 +1,15 @@
|
||||
@page "/"
|
||||
|
||||
<h1>Hello, world!</h1>
|
||||
|
||||
Welcome to your new app.
|
||||
|
||||
<Modal @ref="modal" title="Full screen" Fullscreen="ModalFullscreen.Always">
|
||||
<BodyTemplate>...</BodyTemplate>
|
||||
</Modal>
|
||||
|
||||
<Button Color="ButtonColor.Primary" @onclick="() => modal.ShowAsync()">Full screen</Button>
|
||||
|
||||
@code {
|
||||
private Modal modal = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user