Setup UI components
This commit is contained in:
parent
7d4590b155
commit
c0d01c34bd
2 changed files with 8 additions and 0 deletions
1
PancakesWeb/Components/Pages/_Imports.razor
Normal file
1
PancakesWeb/Components/Pages/_Imports.razor
Normal file
|
@ -0,0 +1 @@
|
|||
@using PancakesWeb.Components.UI
|
7
PancakesWeb/Components/UI/RenderDate.razor
Normal file
7
PancakesWeb/Components/UI/RenderDate.razor
Normal file
|
@ -0,0 +1,7 @@
|
|||
<time datetime="@Date.ToString("O")">
|
||||
@Date.ToUniversalTime().ToString("G")
|
||||
</time>
|
||||
|
||||
@code {
|
||||
[Parameter, EditorRequired] public required DateTime Date { get; set; }
|
||||
}
|
Loading…
Add table
Reference in a new issue